Fix Excel SharePoint Hyperlinks Redirecting to Wrong Location
Question details
Guest users are redirected to an incorrect web address when clicking relative hyperlinks to SharePoint PDF files in an Excel workbook accessed via Excel for the web.

- Product
- Microsoft Excel, SharePoint
- Device & OS
- not provided
- Scenario
- Sharing an Excel workbook containing SharePoint hyperlinks with guest users on Excel for the web.
- Observed behavior
- Hyperlinks function correctly in the Excel desktop application but incorrectly redirect guest users to excel.officeapps.live.com, resulting in an error when the workbook is opened online.
Verify that all guest users have been granted the appropriate SharePoint permissions to access both the host Excel workbook and the linked PDF files.
Disable 'Update Links on Save' in Excel Web Options
Prevent Excel from automatically rewriting full URLs as relative paths by disabling the link update feature in the desktop application.
By default, the UpdateLinksOnSave property is set to True, which allows Excel to rewrite full SharePoint URLs as relative paths. Disabling this ensures absolute paths remain intact for guest users.
Open the affected workbook in the Excel desktop application. Navigate to 'File' and select 'Options' from the bottom left menu.
In the Excel Options window, click on 'Advanced' in the left pane. Scroll down to the 'General' section and click the 'Web Options' button.
Navigate to the 'Files' tab within the Web Options dialog box. Uncheck the box labeled 'Update links on save', click 'OK' to apply, and then save your workbook.

Store Linked Files in Separate SharePoint Libraries
Keep the workbook and the linked files in different locations so Excel retains full, absolute paths instead of generating relative links.
Use the HYPERLINK Function
Use the built-in HYPERLINK formula to bypass Excel's automatic link conversion behavior for native clickable objects.
Experience Hassle-Free Spreadsheet Management with WPS Office
Avoid complex SharePoint URL redirection errors and compatibility headaches with WPS Office. It provides a lightweight, highly compatible, and user-friendly alternative to Microsoft Office, perfect for seamless local and cloud file sharing.
- 1. Install WPS Office: Download and install the free WPS Office suite on your device.
- 2. Open Your Workbooks: Launch WPS Spreadsheet and open your existing Microsoft Excel files seamlessly.
- 3. Share with Ease: Use WPS Cloud links to safely share documents without the strict routing issues associated with external guest environments.

Frequently Asked Questions
Why do my Excel SharePoint hyperlinks change to relative paths automatically?
Excel is designed to automatically rewrite full SharePoint URLs to relative paths when saving a document, managed by the 'UpdateLinksOnSave' property, which is enabled by default to keep links intact when entire folders are moved.
Why do guest users receive an error when clicking the links in Excel for the web?
When guest users open the workbook in Excel for the web, the relative path may be incorrectly resolved against the Excel web service (excel.officeapps.live.com) rather than the actual SharePoint tenant URL, causing a redirection error.
Can I prevent Excel from changing my full URLs?
Yes. You can stop this behavior by opening the workbook in the Excel desktop app, navigating to File > Options > Advanced > Web Options > Files tab, and unchecking the 'Update links on save' setting.
Does storing the URL as plain text fix the redirection issue?
Yes, storing the URL as plain text rather than an active hyperlink object prevents Excel from converting it to a relative path, meaning users can manually copy and paste the correct full URL to access the file.




