Inside The Web
    Facebook Twitter Instagram
    Inside The Web
    • Office
      • Excel
      • Ms Word
      • OneDrive
      • Google Docs
      • Google Sheets
      • Google Drive
    • Email
      • Gmail
      • Outlook
      • Emal Etiquette
    • Office Etiquette
    • Productivity
    Inside The Web
    Home»Office»Excel»Fix: Excel File Locked for Editing by Me

    Fix: Excel File Locked for Editing by Me

    Nisha GurungBy Nisha GurungApril 17, 2023 Excel 4 Mins Read

    If you’ve come across the “Excel File is Locked for Editing by your username” error while opening the workbook, it means the file is password-protected. In most cases, you might be able to access the file in read-only mode. However, you still won’t be able to edit or save the workbook. 

    In case you haven’t locked your file, another most probable chance is that the same Excel file is already running in the background. However, the error could also occur due to the following reasons: 

    • Workbook is in Read-Only Mode
    • Malicious Third-party add-ins
    • Files saved in unsupported co-authoring locations
    • Excel’s temporary files
    • Buggy AntiVirus Software
    • Error in Excel App

    The error is temporary and mostly solvable with minor fixes. Check out some of the proven fixes below.

    End App Background Processes

    One of the primary reasons you’ll encounter the “Excel File Locked for Editing by Me” error is when your workbook is already open on a background or a different device. To address this, you can force-stop the Excel file and reopen them. Make sure to save the open workbooks before you begin.

    1. Enter Ctrl + Alt + Del keys. Then, click on Task Manager.
    2. On the Task Manager window, select Excel and click on End task. 
      On the Task Manager window, select Excel and click on End task
    3. Relaunch Excel and open the Workbook. 

    Unprotect Workbook

    If you’ve protected your Workbook, Excel will lock the file for the author too. For instance, when you set the workbook to Always Open Read-Only, this effect will apply to you too. Before accessing files, Excel will prompt you to confirm the viewing mode. It could be another possible reason why you keep getting Files locked for editing. 

    To solve this, unprotect the Workbook temporarily and see if the error is gone.

    1. On your worksheet, click on File Tab.
    2. Select Info in the left panel.
      Select Info in the left panel
    3. Click on Protect Workbook and make sure all the options are unchecked. 
      Click on Protect Workbook and make sure all the options are unchecked

    Unprotect Sheet and Unlock Cells

    If you haven’t protected the workbook but still encounter error, it could be due to locked cells. For users who are unable to edit only a few cell ranges, unprotect the sheets to unlock cells of your workbook. 

    To so do, Navigate to Review Tab on your workbook. Then, click on Unprotect Sheet.

    Delete Temporary Files in Excel

    While saving workbooks, Excel generates a temporary file of the original one in the destination location. Generally, Excel does this to ensure the original files are intact while saving. However, stored temporary files can lock the workbook when opening them. So, to fix this, you can locate and clear out these temporary files.

    1. Press Windows + R keys to open the Run command.
    2. Type in %appdata%\Microsoft\Excel\ in the box and click OK.
      Type in the box and click OK
    3. Select all Excel files and enter Ctrl + C to Copy. Then, paste them into another location.
      Select all Excel files and enter Ctrl + C to Copy
    4. Delete all files and empty the folder.
      Delete all files and empty the folder
    NOTE: If you cannot find the temporary files in App Data, check them on your PC’s hard drive and delete them.

    Save Files in Cloud 

    If you’ve encountered the error while co-authoring the Excel workbook, it is most likely due to the file location. Excel workbooks that are saved locations like DropBox, Google Drive, local PC folders, \\server\folder, and smb://sever/folder, etc do not support co-authoring. To solve this, save the files in OneDrive or Microsoft 365 SharePoint instead. 

    Disable Add-Ins

    Sometimes, third-party Excel add-ins can lock the file. To check this, while holding down the Ctrl key, click on the Excel application. Release the Ctrl key only when you see a Safe Mode confirmation dialogue box. The Excel app should start without any errors. 

    If it doesn’t, it may be the time you disable the add-ins. Here’s how you do it.

    1. Go to File Tab > Options.
      Go to Files Tab and click on Options menu at the bottom
    2. Click on Add-Ins. On Manage, select COM Add-ins and click Go. 
      Click on Add-Ins. On Manage, select COM Add-Ins
    3. Choose your Add-In and click on Remove. 
      Choose your Add-In and click on Remove

    Disable AntiVirus

    Some Excel users reported AntiVirus such as Malwarebytes locked the workbook for editing.  If you’ve enabled similar antivirus tools on your PC, disable them and try launching the Excel workbook again. There could be a bug in the software which is interfering with the Excel file.

    Quick Repair Microsoft Office

    If the error still persists, the problem may lie within the Excel itself. To solve this, perform a quick repair for the Excel application. 

    1. Right-click on the Windows Start button. From the menu, pick Apps and Features. 
    2. Locate Microsoft Office. Click on the More icon > Modify.
      Locate Microsoft Office. Click on the More icon-Modify
    3. If prompted, pick Yes. 
    4. Now, Microsoft will prompt you to choose between Quick Repair and Online Repair. Pick Quick Repair and hit Repair.
      Pick Quick Repair and hit Repair
    5. Again, click on Repair to confirm.
      Again, click on Repair to confirm
    Excel Error
    Nisha Gurung

      As a Business Student, Nisha first used Excel to outline data trends for her college projects. Later, she started exploring basic Excel functions when she realized it is a powerful tool for all businesses today. Nisha believes she can relate to many of the issues users face when starting their Excel Journey. She uses this knowledge and experience to curate contents that are fit for all types of Excel users. Apart from writing, she enjoys reading books and traveling.

      Related Posts

      Excel By Nisha Gurung

      How to Compare Two Columns in Excel Using VLOOKUP

      Excel By Nisha Gurung

      How to Share Excel Files with Multiple Users

      Excel By Nisha Gurung

      How to Filter Based on a List in Excel

      Add A Comment
      Table of ContentsToggle Table of ContentToggle
      • End App Background Processes
      • Unprotect Workbook
      • Unprotect Sheet and Unlock Cells
      • Delete Temporary Files in Excel
      • Save Files in Cloud 
      • Disable Add-Ins
      • Disable AntiVirus
      • Quick Repair Microsoft Office
      • Home
      • About Us
      • Privacy Policy
      © 2025 Inside The Web

      Type above and press Enter to search. Press Esc to cancel.