How to Fix OneDrive Excel Files Not Opening in Desktop App
Question details
Users are unable to open Excel files stored in OneDrive using the local Excel desktop application, despite the files opening successfully in the web browser.

- Product
- Microsoft Excel, OneDrive
- Device & OS
- Windows
- Scenario
- Attempting to open a synchronized OneDrive Excel workbook directly in the local Excel desktop application.
- Observed behavior
- The file opens correctly in Excel for the Web but triggers an error regarding file paths, permissions, invalid characters, or folder issues when launched in the Excel desktop app.
Ensure that your OneDrive desktop client is running, actively signed in to the correct account, and that your internet connection is stable.
Clear the Office File Cache
Clearing corrupted local cache files can resolve syncing conflicts between OneDrive and the Excel desktop application.
The Microsoft Office Document Cache is used to improve the performance of files you open from cloud locations. When this cache becomes corrupted, it often prevents the desktop app from opening synced files.
Close both the OneDrive application and the Microsoft Excel desktop application completely.
Press Win + R to open the Run dialog box. Paste the path C:\Users\%username%\AppData\Local\Microsoft\Office\16.0\OfficeFileCache and press Enter.
Select all the files and folders within this cache directory and delete them.
Restart your computer, launch OneDrive, and try opening the Excel file again from the desktop app.

Check File Paths and Unsupported Characters
Excessively long file paths or unsupported characters (like non-ASCII or specific language characters) can prevent files from opening locally.
Repair Microsoft Office and Relink OneDrive
If the issue persists, the desktop application or OneDrive sync client may be corrupted and require repairing.
Use WPS Office to Open and Edit Spreadsheets Smoothly
If Microsoft Excel continues to experience syncing conflicts or cache errors with your local files, consider trying WPS Office. It is a free, lightweight, and highly compatible alternative that bypasses heavy background cache dependencies.
- 1. Download and Install: Download WPS Office for free from the official website and complete the quick installation process.
- 2. Locate the File: Open WPS Spreadsheets and navigate to your OneDrive sync folder on your local PC.
- 3. Open and Edit: Select your .xlsx file to open it instantly without encountering Office-specific cache or path errors.

Frequently Asked Questions
Why do my OneDrive files open in the browser but not the desktop app?
This usually happens due to corrupted Office cache files on your local machine, synchronization conflicts with the OneDrive desktop client, or unsupported characters in the file's path or name.
How do I fix unsupported characters in my Excel file path?
Move the file to a standard local folder or the root of your OneDrive, and rename it using only alphanumeric characters. If you must use specific language characters, ensure your Windows System Locale for non-Unicode programs is configured correctly for that language.
Does enabling UTF-8 support fix file opening errors in Excel?
Enabling UTF-8 Unicode support in Windows can sometimes resolve issues with non-ASCII file names. However, it may cause display or compatibility issues in older software, making changing the specific system locale a safer alternative.
What should I do if clearing the Office cache doesn't work?
If clearing the cache fails, try unlinking and relinking your PC in the OneDrive settings, or run an Online Repair for Microsoft Office. If the issue persists across multiple users in an organization, it may be a service-wide problem requiring assistance from your IT administrator.




