Excel says file is locked

I have just migrated my old iMac files (Sierra) to a new iMac (High Sierra).

I find Excel will not open the Excel files. It says they are locked (by me, it says!) but I can open them Read-Only.

I have never locked an Excel file; I don't know how! Searching Excel help finds nothing for "lock" at all.

Please help!

iMac with Retina 5K display, macOS High Sierra (10.13.4), Calendar 10,Mail 11.3,Contacts 11.

Posted on May 20, 2018 9:04 PM

Reply
Question marked as Top-ranking reply

Posted on May 21, 2018 4:14 AM

When you open an Excel file, it creates a separate "lock file" with the name ~$originalfilename.xlsx.

If you don't close the original file properly that lock file still exists and won't let you open the file for editing until you delete it. (Sometimes even if you DO close the original file properly, the lock file doesn't delete for some reason).


Do a search for "~$*.* and delete all the lock files.

That should solve the problem.

4 replies
Question marked as Top-ranking reply

May 21, 2018 4:14 AM in response to jamie_gardiner

When you open an Excel file, it creates a separate "lock file" with the name ~$originalfilename.xlsx.

If you don't close the original file properly that lock file still exists and won't let you open the file for editing until you delete it. (Sometimes even if you DO close the original file properly, the lock file doesn't delete for some reason).


Do a search for "~$*.* and delete all the lock files.

That should solve the problem.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Excel says file is locked

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.