OneDrive File Issues

Fix OneDrive Excel File 'In Use' Error When Opening in Another App

Muhammad TalhaMuhammad Talha Nov 4, 2026 869 views

Question details

The user needs to import an Excel file stored on OneDrive into an external application, but is blocked by a file lock error.

How to Fix OneDrive Excel File 'In Use' by Another Application
Product
Microsoft Excel, OneDrive
Device & OS
Windows 10
Scenario
Attempting to import or access a OneDrive-synced Excel file using a third-party or external application.
Observed behavior
The external application fails to import the Excel file, returning an error message stating that the file is currently 'in use' or locked by Excel.
Before you start

Ensure all recent changes to your workbook have been fully saved and check your system tray to verify that OneDrive has an active internet connection to complete any pending synchronizations.

Solution 1Recommended

Close Excel and Wait for OneDrive Synchronization

The most common reason for the 'in use' error is that Excel retains a temporary file lock until the application is fully closed and OneDrive finishes syncing the document to the cloud.

External applications often require exclusive access to a file to import its data safely. If Excel is still running or OneDrive is actively uploading changes, the file remains locked by the system.

1
Save and Close Excel

Save your work manually, then completely close the Microsoft Excel application. Simply closing the workbook window may not be enough; ensure the entire program is exited.

2
Verify OneDrive Sync Status

Click the OneDrive cloud icon located in the Windows taskbar system tray. Wait until the status displays 'Up to date', indicating the file is no longer being processed.

3
Import the File

Open your external application and reattempt the import process. The file should now be free from any locks.

Close Excel and Wait for OneDrive Synchronization
Tip: If you are working from a shared SharePoint directory, ensure that no other users currently have the file open on their end.
Free Microsoft Office alternative

Experience Hassle-Free Spreadsheet Management with WPS Office

If you frequently encounter frustrating file locks, ghost processes, or syncing errors with Microsoft Excel, consider switching to WPS Office. It provides a highly compatible, fast, and free alternative without the heavy background services that cause locking issues.

  1. 1. Download and Install WPS Office: Visit the official WPS website to download the free suite and install it on your Windows device.
  2. 2. Open Your Spreadsheet: Launch WPS Spreadsheet and open your existing Excel file directly from your local drive or cloud storage.
  3. 3. Edit Without Conflict: Enjoy lightweight, hassle-free editing without restrictive background lock conflicts.
Fully compatible with Microsoft Excel (.xlsx, .xls) file formatsLightweight architecture with minimal background processes to prevent file locksSeamless and reliable cloud integration for saving and sharingCompletely free to use with a familiar, easy-to-learn interface
microsoft office alternative - wps office

Frequently Asked Questions

Why does OneDrive say my Excel file is in use when the program is completely closed?

This commonly occurs if OneDrive is still actively syncing the file to the cloud or if a 'ghost' Excel process is stuck running in the background. You can check your Windows Task Manager to manually terminate hidden Excel processes.

Can multiple users edit an Excel file on OneDrive at the same time without locking it?

Yes, Microsoft offers a 'co-authoring' feature for simultaneous editing. However, if a third-party application attempts to access or import the file via the local file system during this time, the system will still register the file as 'in use' and block the import.

How do I know if OneDrive has finished syncing my Excel document?

Click the OneDrive cloud icon in your Windows taskbar system tray. It will display 'Up to date' when all files are fully synced. If it shows rotating arrows, synchronization is still in progress.