Get help

Help center

Guides and answers

Contact support

Write to our team

Sign in to

Workflows

Build processes with your team

Automations

Connect files and automate tasks

One system, four parts

AI agents

Virtual Employees that work 24/7

Automations

Connect files and automate tasks

Workflows

Build processes with your team

Data Space

Trusted data sharing and control

Solutions by department

Finance

Reports, budgets, and reconciliations

Inventory and manufacturing

Stock, orders, and production in one view

HR

Timesheets, attendance, and reviews

Project management

Status and workload across projects

Sales and CRM

Leads and deals kept up to date

Education

Student records and school data

Finance

Turn manual finance work into reports that update themselves.

What Finance teams automate

  • Track payables and receivables
  • Build cash flow statements
  • Compare budget against actuals

Inventory and manufacturing

See stock levels and automate ordering.

What inventory and manufacturing teams automate

  • Track inventory across multiple sites
  • Connect sales, purchasing, and warehouse data
  • Link a barcode scanner to your sheet

HR

Run recruitment, attendance, and OKR tracking from your sheets.

What HR teams automate

  • Track recruitment and onboarding
  • Record team OKRs and results
  • Track check-ins, check-outs, and leave

Project management

Assign tasks and track hours without manual updates.

What project teams automate

  • Assign tasks and track status changes
  • Estimate effort and log hours worked
  • Track milestones across projects

Sales and CRM

Track leads and sales performance with automated reports.

What sales teams automate

  • Track and convert leads
  • Set sales goals and track team metrics
  • Monitor sales KPIs on dashboards

Education

Automate attendance, grades, and school purchasing.

What schools automate

  • Track attendance and notify parents
  • Record and compare class grades
  • Track inventory lent to students and staff

Find a use case

By department

How each team uses Sheetgo

By industry

How each industry uses Sheetgo

By company size

Small, medium-sized, or large

Learn

Blog

Guides and product news

Customer stories

How teams like yours use Sheetgo

Help center

Guides and answers

Why Sheetgo

Compare

How Sheetgo compares with other tools

Security

How we protect your data

Trust center

Our compliance details

Sign in to

Workflows

Build processes with your team

Automations

Connect files and automate tasks

One system, four parts

AI agents

Virtual Employees that work 24/7

Automations

Connect files and automate tasks

Workflows

Build processes with your team

Data Space

Trusted data sharing and control

Solutions by department

Finance

Reports, budgets, and reconciliations

Inventory and manufacturing

Stock, orders, and production in one view

HR

Timesheets, attendance, and reviews

Project management

Status and workload across projects

Sales and CRM

Leads and deals kept up to date

Education

Student records and school data

Find a use case

By department

How each team uses Sheetgo

By industry

How each industry uses Sheetgo

By company size

Small, medium-sized, or large

Get started

Templates

Ready-made workflows to start from

Learn

Blog

Guides and product news

Customer stories

How teams like yours use Sheetgo

Help center

Guides and answers

Why Sheetgo

Compare

How Sheetgo compares with other tools

Security

How we protect your data

Trust center

Our compliance details

Help center

Guides and answers

Contact support

Write to our team

Workflows

Build processes with your team

Automations

Connect files and automate tasks

How to fix the Excel sharing violation error

If you have been using Excel over the last few years, you have probably come across an Excel file that won’t save or other related issues that can take up hours to solve. Although the most recent version of Excel under the Microsoft 365 subscription plan is an improvement in many functionality aspects, the sharing violation error still remains.

Often, users experience the same type of error message when saving new edits to a shared file – “Your changes could not be saved to ‘Filename’ because of a sharing violation”. Although Excel offers support for this sharing violation, it may not be the ideal workaround solution for some users.

In this guide, you’ll understand the meaning of a sharing violation in Excel and how to fix it using 5 different methods, depending on your situation.

What is a sharing violation in Excel?

A sharing violation refers to any attempt made by an application to access content that is being used by another. In Excel, this occurs when another user opens a spreadsheet. If Excel tells you the file is locked for editing instead, the cause is usually the same. As this error has remained since Excel 2007, there are many workaround solutions available that have proven to be successful.

How to fix sharing violation error in Excel?

If you have recently encountered a sharing violation error in Excel, you’ll find the following methods to fix it useful. Note that these steps illustrate solutions for sharing violation errors in Windows 10. Although the methods illustrated in this article are adaptable for most operating systems, the Microsoft Q&A Community offers specific solutions for the Excel sharing violation error on Mac.

Enable indexing for file folders

If you haven’t enabled the indexing permissions in Excel, there is a higher chance that your files will prompt the sharing violation error. Follow these simple steps to enable indexing for File Folders.

1. Close the Excel application fully. You can do this by pressing Ctrl + Alt + Del and selecting Task Manager. Then, select “Excel” and click on “End Task”.

Sharing violation Excel — Task Manager with Microsoft Excel right-clicked and End task highlighted

2. Use the Windows key + E shortcut to launch the “File Explorer”.

Sharing violation Excel — File Explorer open on the Sharing Violation folder holding an Excel file

3. Go to the folder containing the Excel file that prompts the sharing violation error. Right-click on the folder and select “Properties” from the drop-down list.

Sharing violation Excel — folder right-click menu in File Explorer with Properties at the bottom

4. Click on “Advanced”.

Sharing violation Excel — Advanced Attributes dialog opened from the folder Properties window

5. Go to “Archive and Index Attributes” and check the box next to “Allow files in this folder to have contents indexed in addition to file properties”. Click “Apply” to save changes and “OK” to finish.

Sharing violation Excel — Confirm Attribute Changes dialog to enable indexing for the folder, subfolders and files

Disable antivirus program

If you have installed third-party antivirus software on your computer, it may be blocking other users from editing the file, despite its shared status. Here’s how to uninstall your antivirus to avoid the sharing violation error.

1. Use the Windows key + R shortcut to launch the “Run” program and write “appwiz.cpl” in the “Open” field box. Click “OK” to launch “Programs & Features”.

Sharing violation Excel — Run dialog open over the Excel start screen, ready for appwiz.cpl

2. Browse through the list and right-click on your antivirus program. Click “Uninstall”.

Sharing violation Excel — Programs and Features list with a program right-clicked and Uninstall in the menu

It may take a few moments to complete this process. Once it finishes, restart your computer and try opening the file to see if Excel no longer prompts the sharing violation error.

Sharing Wizard

This is probably one of the most overlooked error sources. However, if the “Sharing Wizard” option isn’t enabled, you will easily get the sharing violation error in Excel. Follow these steps to enable the Sharing Wizard feature.

1. Use the Windows key + E shortcut to launch the “File Explorer”.

2. Select “View”, located at the top, and click “Options” to the right. Click on “Change folder and search options”.

Sharing violation Excel — File Explorer View tab with Options and Change folder and search options

3. In the “View” tab, tick the “Use Sharing Wizard (Recommended)” among the available options.

Sharing violation Excel — Folder Options View tab with Use Sharing Wizard (Recommended) ticked

4. To save changes, click on “Apply”, then “OK” to close.

Sharing violation Excel — Folder Options dialog with the Apply button next to OK and Cancel

As in the previous method, it’s always recommended to restart your computer to check if the error has been successfully solved.

If the error kept Excel from saving your latest edits, you may still get them back with AutoRecover. You can both recover a file that was never saved as well as a file that has been saved at least once. Here’s how to use AutoRecover in Excel.

Save file to a different location

If you are certain that you lack access to the file or you work externally, then chances are you’ll be able to resolve this issue by saving the file in a different location. Simply note that this is a copy of the original file, so you’ll need to keep track of that alternative version. This is how you can save a file in a different location.

1. In Excel, go to File > Save As (Save a Copy if the file is stored in OneDrive).

Sharing violation Excel — Save a Copy screen in the Excel File menu with recent locations

2. Select “More Options…”.

Sharing violation Excel — Save a Copy screen with the file name box and the More options link

3. Choose a different folder from the left-side menu and click “Save” to finish.

Sharing violation Excel — Save As window with the Documents folder chosen and the Save button

Rename file

Although it might seem like the most unlikely error source, we may be saving the file using a character that is incompatible with Excel filenames. Moreover, it could be a simple typo. This is how you check the name of the file and quickly rename it.

1. Follow the first step from the previous method.

2. Enter a different name for the file and click “Save” to the right to finish.

Sharing violation Excel — Save a Copy screen with the CS Survey 22 file name selected to rename it

If you want to learn more about the different file types and name formats supported in Excel, visit this Microsoft support page.

Conclusion

If your job is computer-based, understanding the cause of errors is always useful. If you rely on spreadsheets, then it is a must. Excel is still the go-to application for complex tasks involving data storage, management, and analysis. This is why fixing a sharing violation error should take the least amount of time possible.

You should now feel comfortable with the concept and be able to fix any sharing violation error message in Excel using any of the five workarounds illustrated in this article. If the file opens as read-only instead, here’s how to remove read-only from Excel. What’s more, if you’re looking to have all your business processes automated in one place, Sheetgo, an AI-powered data automation platform, connects your spreadsheets into automated pipelines and keeps your data ready for AI.

You may also like…

How to lock cells in Excel — Excel logo next to a green padlock on a mint background

How to lock cells in Excel? (cells, sheets & formulas)

Learn how to lock cells in Excel to stop accidental edits, plus how to protect a sheet and lock formulas, with steps for Windows and Mac.

Excel version control — stacked XLS file icon in teal on a dark navy background

The beginner’s guide to Excel version control

Discover what Excel version control is, the version control features Excel has to offer, and how to use them to share, merge, and review Excel changes.

How to remove password protection from Excel — Excel icon next to a padlock with a masked password on a light blue background

How to remove a password from Excel (multiple methods)

Learn how to remove password protection from Excel: unlock a file or a sheet when you know the password, and what to try if you’ve forgotten it.