Share via

How to access excel files in use by another program

Randy Weisgerber 0 Reputation points
2026-05-04T17:06:02.11+00:00

How do I access an excel file that is in use by another program? It will not let me open the file since it says it is being edited by another program. I do not have it open in any other pro

Microsoft 365 and Office | Excel | For home | Windows

2 answers

Sort by: Most helpful
  1. Ramesh Srinivasan 79,975 Reputation points Independent Advisor
    2026-05-04T17:42:29.3066667+00:00

    Hi Randy,

    1. What's the file extension of the Excel document you're trying to open? Is it .xls or .xlsx?
    2. Please open Command Prompt and run the following command:
    icacls "%temp%"
    

    Copy the output and post it in your next reply.

    0 comments No comments

  2. Q&A Assist
    2026-05-04T17:06:13.1833333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Excel files that are “in use by another program” are locked for editing. Depending on the situation, only limited options are available:

    1. If the file is actually locked by you
      • Close the workbook on all devices where it might be open (PC, laptop, mobile, Excel for the web).
      • Wait a few minutes so the server or file share can release the lock. Sometimes the server still thinks the file is open and needs time to catch up.
    2. If the file is locked by another user or process
      • Wait until the other user or program finishes and closes the file.
      • If available, choose to open the file as Read-only so it can at least be viewed (changes cannot be saved back to the same file).
      • Ask the other user to close the file, check it in (if stored in SharePoint/OneDrive), or grant edit permissions if it is a permissions issue.
    3. If using co-authoring (shared files)
      • Ensure everyone editing the file is using a version of Excel that supports co-authoring, such as Microsoft 365 subscription Excel or Excel for the web. Older versions may cause the file to be locked instead of shared for simultaneous editing.

    There is no supported way to bypass the lock and edit the same file simultaneously from a program that does not support co-authoring. Use read-only access or wait for the lock to be released.


    References:

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.