+ Reply to Thread
Results 1 to 14 of 14

Excel Locked for Editing by Me

  1. #1
    Forum Contributor
    Join Date
    08-08-2012
    Location
    USA, CA
    MS-Off Ver
    Excel 2007
    Posts
    131

    Question Excel Locked for Editing by Me

    After researching many articles online, I am stumped and hope someone can help figure this out.

    I am using Excel 2010 on Win 7 and it seems that many users have the same problem.

    I saved a file in my network drive and closed it. When I reopened the file two days ago, it said this file is locked for editing by "user(me). Restart/shutdown didn't work.

    I closed and I killed excel - even in CMD. I tried a number of things like going to computer management and try finding any opened files however, I can't find any. I tried to even open the file for repair, but same result. I am now downloading an update for excel in hopes it will resolve my issue. Trying to see even through adding HKEY oplocks, but not sure if this will work here.

    Thoughts?

    Thanks,
    Newb

  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excel Locked for Editing by Me

    Some things to try:

    Make sure that file preview is not active in Windows Explorer.

    Get Ccleaner (free version) and delete all temporary files.

    Reboot and try opening the file from within Excel...File, Open.

    If the file won't open, rename the file in Windows Explorer and try opening again.

    If this still fails, copy the file and try opening on a different computer. If it opens, save under a new name, copy back to the original computer. If the file doesn't open, it is corrupted in some way.....hope you have a backup.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  3. #3
    Valued Forum Contributor
    Join Date
    01-10-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    651

    Re: Excel Locked for Editing by Me

    this happens to me pretty much every time i open a file after upgrading to 2010... i usually just click "Notify" on the popup and within a few seconds excel says the file is available for editing.

    kinda annoying, but not crippling so i stopped looking for a better solution...
    Hope I could help - if your post has been solved don't forget to mark it as such.

    Clicking the * below is a great way to say thanks!

    "Drowning in 10 feet of water isn?t any different than drowning in a million feet. And if you can swim, it doesn?t matter how deep the ocean is. At some level, once you realize you?re in water that?s too deep to stand, you have to have a very different approach," - Joi Ito

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excel Locked for Editing by Me

    I think that Excel didn't install properly.
    You can do a repair install by going to the Control Panel, Programs and Features, select Microsoft Office, click Change, then click Repair.

    If this doesn't work, uninstall Office and re-install after cleaning up all temporary files and rebooting.

  5. #5
    Forum Contributor
    Join Date
    08-08-2012
    Location
    USA, CA
    MS-Off Ver
    Excel 2007
    Posts
    131

    Re: Excel Locked for Editing by Me

    Hello - I followed all your recommendations, but still no luck. Installed CC cleaner, notify, copy/paste/rename and it is still locked by me. I also tried to repair it per the last suggestion given by going to change program>>repair and it didn't work. The version of excel is not an upgrade as I often use this version to create/save workbooks.

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excel Locked for Editing by Me

    From everything that I can find, this problem is related to temporary files not being deleted upon exit from Excel (or other Office program as they can also be affected)

    I'm not sure where that folder is.

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excel Locked for Editing by Me

    If you have another account on the computer, try using Excel in that account to see if it acts properly.

  8. #8
    Forum Contributor
    Join Date
    08-08-2012
    Location
    USA, CA
    MS-Off Ver
    Excel 2007
    Posts
    131

    Re: Excel Locked for Editing by Me

    Thanks Doverman for doing some digging around. The temp files are located in C:\Users\<username>\AppData\Local\Temp...or there may be another one I am not aware of...but I deleted the tmp files from that folder. I will try another account and see if I can unlock. The HKEY in regedit looks promising, but I would need to create a new key for this. I wish there was a service I could simply stop in computer management. -Newb

  9. #9
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excel Locked for Editing by Me

    Be EXTREMELY careful when doing any editing in the registry. A small mistake can create major problems. Backup the registry before editing.

    Try another user account (create one if necessary) and try Excel with it. If Excel works properly with the new account, change to a new account, and get rid of the old one after migrating your data.

  10. #10
    Forum Contributor
    Join Date
    08-08-2012
    Location
    USA, CA
    MS-Off Ver
    Excel 2007
    Posts
    131

    Re: Excel Locked for Editing by Me

    Thanks Doverman. I tried with a new account, but didn't resolve the issue. I had to contact the network administrator and he reset the file. Apparently there was a duplicate file holding the primary file hostage! It appears that this problem was due to excel not closing correctly, which caused the clone file.

    Thank you to all who gave in your input.

    -N

  11. #11
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excel Locked for Editing by Me

    I saw that you were on a network but for some reason it didn't hit me that it was a corporate network. That is too bad because I did come across several solutions that involved temp files and duplicate files on a network drive.

    I'm glad that you finally have a solution.

  12. #12
    Registered User
    Join Date
    06-08-2017
    Location
    Washington
    MS-Off Ver
    All
    Posts
    1

    Lightbulb Re: Excel Locked for Editing by Me

    Ok after many hours of going round.

    1. If its a network file and you/user has access to the network server to end sessions.
    Go to Computer Management > Click Action > Connect to another computer "server where the file is" end the season by you/user

    2. If dont have access to the server. Contact your IT and have them put a request in.

    The work around is to open the file in read mode only then file save it in the same location but add 2 to the end of the name. Save it.. close and delete the other copy. Rename the one you save with out the 2.

    At this time.. there is no secret way to resolve this issue.

  13. #13
    Registered User
    Join Date
    11-01-2019
    Location
    Singapore
    MS-Off Ver
    2019
    Posts
    5

    Re: Excel Locked for Editing by Me

    My Best solution : Close all Excel workbooks, then Goto Task manager > End All EXCEL.EXE

  14. #14
    Registered User
    Join Date
    01-30-2023
    Location
    Bandung
    MS-Off Ver
    2013
    Posts
    1

    Re: Excel Locked for Editing by Me

    Quote Originally Posted by newdoverman View Post
    From everything that I can find, this problem is related to temporary files not being deleted upon exit from Excel (or other Office program as they can also be affected)

    I'm not sure where that folder is.
    Folder is C:\Users\<username>\AppData\Roaming\Microsoft\Excel\...
    Delete the cache / file and original file will be able to read/write

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Excel File is Locked for Editing
    By Vladamir in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-05-2013, 01:59 PM
  2. Excel 2007 : Excel locked for editing
    By jrodlc08 in forum Excel General
    Replies: 0
    Last Post: 07-21-2010, 03:12 PM
  3. Excel file locked for editing
    By derik in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-03-2008, 02:16 PM
  4. locked for editing in Excel
    By raginbull69 in forum Excel General
    Replies: 1
    Last Post: 08-17-2006, 07:15 PM
  5. [SOLVED] Excel file locked for editing by 'my name' ! How do I unlock?
    By Dawgtired in forum Excel General
    Replies: 1
    Last Post: 01-08-2005, 12:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1