How To Fix: Sharing Violation Error in Excel

RECOMMENDED: Click here to fix Windows errors and optimize system performance

This error occurs when you try to save an Excel workbook in various circumstances.

Error message:

“Your changes could not be saved to ‘ FileName ‘ because of a sharing violation. Try saving to a different file.”

Apple the official Microsoft Hotfix for Microsoft

This is a known problem with Microsoft.

  1. Download and install Hotfix 97050.
  2. Restart your Vontu services on the Enforce server and EDPA on the agent.

Allows you to index the Excel file.

It turns out that the main reason for this error is that the Excel file is in a folder that is not configured for its content to be indexed. More recent versions of Excel do not work well with folders in which this extended attribute is not enabled, so the sharing violation error is triggered accordingly.

May 2021 Update:

We now recommend using this tool for your error. Additionally, this tool fixes common computer errors, protects you against file loss, malware, hardware failures and optimizes your PC for maximum performance. You can fix your PC problems quickly and prevent others from happening with this software:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.


Several users concerned reported that they have been able to overcome this problem by modifying the extended attributes of the responsible folder so that the files it contains can be indexed.

Enabling the Sharing Wizard

Another fairly common author who could be responsible for the bug that caused the sharing violation is a disabled sharing wizard. It turns out that this function must be enabled in Excel for it to work properly. Some affected users reported that the problem was solved after reactivating the Sharing Wizard from the Folder Options screen.

Here is a quick guide on how to activate the Sharing Wizard function from the Folder Options menu:

  1. Press Windows + R to open a Run dialog box. Then type “Control folder” and press Enter to open the Folder Options menu.
  2. If you are in the File Explorer Options window, select the View tab. Then scroll down the Advanced Settings options until you find the Sharing Usage Wizard (recommended). When you see it, make sure the Use sharing wizard (recommended) check box is checked, then click Apply to save the configuration.
  3. Once this change is made, restart your computer and check that the problem is solved when the next boot sequence is completed.

RECOMMENDED: Click here to troubleshoot Windows errors and optimize system performance