SharePoint Document Issues

Fix Excel Local Links Not Working After SharePoint Upload

Ayan MasoodAyan Masood Oct 26, 2026 869 views

Question details

Users need a way to preserve or fix Excel hyperlinks pointing to absolute local file paths (e.g., C:/Users/...) that break after the workbook and linked files are uploaded to SharePoint.

How to Fix Excel Local Links Not Working After Uploading to SharePoint
Product
Microsoft Excel
Device & OS
not provided
Scenario
Uploading an Excel workbook containing hyperlinks to local files into a SharePoint document library.
Observed behavior
The Excel links stop working because they still point to local C: drive paths, which SharePoint cannot resolve or open.
Before you start

Ensure that both your Excel workbook and all linked files have been successfully uploaded to the same SharePoint library before attempting to repair the hyperlinks.

Solution 1Recommended

Recreate Links Using OneDrive Synchronization

Synchronize your SharePoint document library to your local computer using OneDrive to safely recreate relative links that work for all users.

SharePoint web environments cannot access or resolve absolute links pointing to a local C: drive. By syncing the SharePoint library to your local machine via OneDrive, you create an environment where Excel can establish relative paths that remain intact when synced back to the cloud.

1
Sync the SharePoint Library

Open the SharePoint document library in your web browser and click the 'Sync' button in the top toolbar to connect it to your local OneDrive app.

2
Move Files to the Synced Folder

Open File Explorer, locate your newly synced SharePoint/OneDrive folder, and ensure both your Excel workbook and the linked target files are placed inside this folder structure.

3
Edit the Broken Hyperlinks

Open the Excel workbook from the synchronized folder, right-click a broken hyperlink, and select 'Edit Hyperlink'. Browse to the target file within the same synced folder and click 'OK'.

Recreate Links Using OneDrive Synchronization
Relative Link Creation: Keeping both the workbook and the linked files in the same synchronized directory forces Excel to use relative paths, preventing the links from breaking when accessed by colleagues on SharePoint.
Free Microsoft Office alternative

Experience Seamless Spreadsheet Collaboration with WPS Office

Avoid complex SharePoint sync setups and frequent broken link issues. WPS Office provides a lightweight, highly compatible alternative with its own built-in WPS Cloud, making file sharing and hyperlink management straightforward and secure.

Fully compatible with Microsoft Excel (.xlsx) formats and spreadsheet hyperlink structures.Built-in WPS Cloud keeps interconnected files synced and accessible across all your devices.Lightweight installation with a familiar, user-friendly interface for instant productivity.Completely free to use for core spreadsheet editing and data management tasks.
microsoft office alternative - wps office

Frequently Asked Questions

Why do my Excel links change to file:///C:/ when uploaded to SharePoint?

When you create a hyperlink to a file on your computer, Excel stores it as an absolute path pointing to your local drive. Because the SharePoint web environment is cloud-based, it cannot access your local C: drive, causing these specific local paths to fail.

Does Excel automatically convert local links to SharePoint web links?

No, Excel does not automatically convert local absolute paths to web URLs during an upload. You must use OneDrive synchronization to establish relative paths or manually edit the links to point to the new SharePoint URLs.

How can I prevent hyperlinks from breaking when sharing files?

To prevent broken links, always save your workbook and all target files in the same folder or subfolder before creating the hyperlinks. This encourages the spreadsheet application to generate relative paths instead of absolute local paths.

Will repaired synced links work for my colleagues?

Yes. If you recreate the links using a synced OneDrive/SharePoint folder, Excel creates relative paths. As long as your colleagues have permissions to access the same SharePoint library, the links will resolve correctly for them.