Fix Excel Workbooks Locked by Another User on a Network Share
Question details
Resolve a lock warning and repair warnings for Excel workbooks stored in a shared network folder.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A user opens workbooks from a shared network folder and tests local copies.
- Observed behavior
- Excel reports that another user has locked the workbooks and also requires repair. No active sessions or temporary lock files are visible, while local copies can be opened and repaired.
Confirm that other users have closed the affected workbook, then copy it from the network folder to a local location for testing. Note any repair messages or logs Excel displays.
Rebuild the workbook from a repaired local copy
Use this approach when a local copy opens or repairs successfully but the network workbook still reports errors.
In Excel, select File > Open > Browse, choose the local workbook, and use the arrow next to Open to select Open and Repair. Choose Repair when prompted.
Open a new blank workbook. In the repaired copy, right-click a worksheet tab, select Move or Copy, choose the new workbook under To book, and check Create a copy. Repeat one sheet at a time, saving and reopening the new workbook after each copy.
If errors return after copying a sheet, inspect that sheet's formulas, objects, and formatting in the repaired copy. Correct or recreate affected content, then copy it into a clean workbook and test again.
Use File > Save As to save the rebuilt workbook under a new name in the network folder. Close and reopen it from that folder to check for lock and repair warnings.

Check the shared folder for stale Excel locks
Use this when the workbook opens locally but Excel reports a lock on the network copy.
Review legacy workbook sharing settings
Check this setting if the workbook uses Excel's legacy shared-workbook feature.
Open and review spreadsheets with WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for opening and editing spreadsheet files. Its Microsoft Office format support makes it easy to move existing files into WPS, although it does not clear network locks or fix Excel-specific repair errors.

Frequently Asked Questions
Why does Excel say a workbook is locked when no one is using it?
A stale file handle or a leftover ~$ lock file may still exist on the shared folder. Ask the folder administrator to check open handles and confirm the workbook is closed before removing a lock file.
How do I repair an Excel workbook that opens locally?
In Excel, select File > Open > Browse, select the local copy, and choose Open and Repair from the arrow beside Open. Select Repair, then review any repair message or log.
What if copying a worksheet brings the repair warning back?
The copied sheet or something it references may contain damaged content. Inspect its formulas, objects, and formatting in the repaired local copy, recreate suspect content, and test it in a clean workbook.
Will renaming the workbook clear a network lock?
Not necessarily. In this case, saving under a different name did not resolve the issue. Check the shared folder for stale handles and test whether a repaired or rebuilt local copy opens from the share.
Should I disable workbook sharing to fix the warning?
Check Review > Share Workbook (Legacy) only if the file uses legacy sharing. Disable it only after coordinating with users, because it affects simultaneous editing and can remove shared-workbook change history.




