Fix an Excel Workbook Locked for Editing by Your Name
Question details
The user needs to regain editing access to an Excel workbook that appears locked by their own name.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- The user opens a workbook that they believe is not being edited on another computer.
- Observed behavior
- Excel reports that the workbook is locked for editing by the user's name.
Close the workbook and all Excel windows, then confirm that no one else is editing the file. Locate the workbook's folder so you can check for its temporary owner file.
Remove the Workbook's Stale Owner File
Use this method when Excel has closed but its temporary lock file remains in the workbook's folder.
Close all Excel windows and confirm with other users that the workbook is not open for editing.
Open the workbook's folder. In Windows File Explorer, select View and enable Hidden items; the exact menu location varies by Windows version.
Find the temporary file whose name begins with ~$ and corresponds to the workbook, then right-click it and select Delete. Do not delete the workbook itself or lock files for other documents.
Double-click the original workbook in its folder and check whether Excel lets you edit it.

Check for Lingering Processes and Restart
Try this if the lock remains after you close Excel or remove the stale owner file.
Work with Excel Files in WPS Spreadsheet
WPS Office is a free, lightweight alternative with a familiar interface for opening and editing compatible Excel workbooks. Its support for common Office formats makes it easier to move existing files into WPS. It does not remove an active Excel lock.

Frequently Asked Questions
Why does Excel say I have the workbook locked?
An Excel process may still be using the workbook, or a temporary owner file may remain after Excel closes unexpectedly. Check that Excel is closed and look in the workbook's folder for the matching file beginning with ~$.
Is it safe to delete the file that starts with ~$?
Delete the matching owner file only after all users have closed the workbook. Leave the original Excel workbook and owner files for other documents untouched.
How do I find a hidden owner file in Windows?
Open the workbook's folder in File Explorer, select View, and enable Hidden items. Look for a file beginning with ~$ that corresponds to the workbook.
What if the workbook is still locked after I delete the owner file?
Close File Explorer, check Task Manager for a lingering Excel process, and restart the computer. If the workbook is shared, confirm again that no one else has it open.




