How to Fix Excel Shortcut Pointing to the Wrong Installation Path
Question details
The user is experiencing an error when trying to open XLSM files because the Excel shortcut points to an incorrect directory architecture.

- Product
- Microsoft Excel
- Device & OS
- Windows
- Scenario
- Opening an XLSM file via a desktop shortcut or file association.
- Observed behavior
- An error is produced because the shortcut attempts to launch Excel.exe from Program Files, but the actual 32-bit Office application is installed in Program Files (x86).
Verify whether you have a 32-bit or 64-bit version of Microsoft Office installed, as this determines the correct default installation folder.
Correct the Shortcut Target Path in Properties
Manually update the shortcut properties to point to the correct Excel.exe location based on your system architecture.
On a 64-bit operating system, 64-bit programs are installed in the standard 'Program Files' folder, whereas 32-bit programs are placed in 'Program Files (x86)'. If your shortcut targets the wrong folder, the application cannot launch.
Right-click the faulty Excel shortcut on your desktop or taskbar and select 'Properties' from the context menu.
Navigate to the 'Shortcut' tab in the Properties window and find the text box labeled 'Target'.
Modify the path to point to the correct directory. Change 'Program Files' to 'Program Files (x86)' if you are using a 32-bit Office installation. Ensure it points to the actual location of Excel.exe.
Click 'Apply', then click 'OK' to save your changes. Double-click the shortcut to verify that Excel opens successfully.

Run an Office Repair
Use the built-in Office repair tool to automatically restore missing or broken shortcuts.
Switch to WPS Office to Avoid Complex Installation Errors
Tired of dealing with broken shortcuts and 32-bit/64-bit architecture mismatches? WPS Office provides a free, lightweight, and easy-to-install alternative that flawlessly handles Excel files, including complex XLSM formats, without the typical installation headaches.
- 1. Download WPS Office: Visit the official WPS website to download the free installation package.
- 2. Install the Application: Run the lightweight installer, which automatically configures the correct file paths and desktop shortcuts.
- 3. Open Your Spreadsheet: Double-click your XLSM file to seamlessly open it in WPS Spreadsheet.

Frequently Asked Questions
Why did my Excel shortcut suddenly point to the wrong path?
This commonly happens after a system update, an Office upgrade, or if a shortcut was copied from another computer that had a different Office architecture installed (e.g., migrating from 64-bit to 32-bit).
How do I find the real location of Excel.exe on Windows?
Open File Explorer and navigate to C:\Program Files\Microsoft Office\root\Office16 (for 64-bit versions) or C:\Program Files (x86)\Microsoft Office\root\Office16 (for 32-bit versions). The exact folder number may vary depending on your Office version.
Can I install both 32-bit and 64-bit Office on the same computer?
No, Microsoft does not support installing both 32-bit and 64-bit architectures of Office products on the same computer simultaneously. You must uninstall one to use the other.
What is an XLSM file?
An XLSM file is a macro-enabled spreadsheet created by Microsoft Excel. You must have a compatible spreadsheet program with macro support, like Excel or WPS Spreadsheet, to open and run its scripts.




