How to Fix ‘Document Not Saved’ Error in Microsoft Excel on Windows

Attempting to save complex financial models or daily reports in Microsoft Excel can occasionally trigger a generic dialogue stating: “Document not saved. Any previously saved copy has been deleted, or the document was saved with temporary filename.” This frustrating barrier typically stems from file system permission conflicts, third-party anti-virus scanning locks, or local temp folder exhaustion.

Use Save As to Create an Alternative Temporary Copy

Before executing technical remedies that alter system processes, safeguard your unsaved spreadsheet modifications immediately using secondary paths.

  1. Click File > Save As > Browse within Excel.
  2. Select an entirely distinct local folder, such as your user Documents or a secondary local solid-state drive partition.
  3. Give the workbook a new, distinct filename (such as adding an emergency suffix like _Recovery).
  4. Change the Save as type dropdown to Excel Binary Workbook (*.xlsb) or Excel Workbook (*.xlsx) and click Save.

Examine Anti-Virus Real-Time File Locking

Third-party security suites and cloud backup utilities (such as OneDrive or Dropbox) monitor local folder writes. When Excel attempts its multi-step atomic save process (creating a temp file, deleting original, and renaming), aggressive scanners lock the temporary file mid-stream.

  • Temporarily pause third-party anti-virus real-time protection shields to test if file commits succeed.
  • Add your primary project folders or local repository directories to the anti-virus exclusion list.
  • Ensure cloud synchronisation services have finished active file indexing before clicking the manual save button.

Clean Out Windows Temporary Folder and Check Permissions

Excel requires unrestricted write and delete rights within the Windows user Temp directory to build transactional snapshot files.

  1. Press Win + R, type %temp%, and press Enter.
  2. Select all files in the resulting folder (Ctrl + A) and press Delete. Skip any files currently locked by open background utilities.
  3. Navigate back to the parent folder, right-click the Temp directory, and select Properties > Security.
  4. Ensure your Windows user account has Full control permissions enabled across all child objects.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.