SharePoint Document Issues

How to Prevent Excel Hyperlinks from Changing When Moving SharePoint Files

Steven ParkerSteven Parker Oct 29, 2026 868 views

Question details

The user needs to prevent hyperlink paths inside an Excel workbook from automatically changing or breaking when the file is moved to a different folder within SharePoint.

How to Prevent Excel Hyperlinks from Changing When Moving SharePoint Files
Product
Microsoft Excel / SharePoint
Device & OS
not provided
Scenario
Moving or copying Excel workbooks with relative hyperlinks to another SharePoint folder.
Observed behavior
Relative hyperlink paths update automatically to point to the new folder location, breaking links to external supplier-price workbooks.
Before you start

Before moving your Excel workbooks, identify whether your hyperlinks use relative paths (which change based on the file location) or absolute paths (full URLs that remain constant).

Solution 1Recommended

Use Absolute SharePoint URLs for Hyperlinks

Replace relative hyperlink paths with absolute SharePoint URLs to ensure they point to the correct file regardless of where the workbook is moved.

By default, Excel may create relative hyperlinks when linking to files in the same directory structure. Using absolute links prevents these paths from recalculating when the source workbook changes location.

1
Find the exact SharePoint URL

Navigate to the target file in your SharePoint environment and copy its full web link (URL) from the address bar or the 'Copy Link' feature.

2
Edit the existing hyperlink

Open your Excel workbook, right-click the cell containing the hyperlink you want to secure, and select 'Edit Hyperlink' from the context menu.

3
Paste the absolute path

In the Address field, replace the existing relative path with the full absolute SharePoint URL you copied earlier.

4
Save the workbook

Click 'OK' to apply the change, then save the workbook. You can now safely move the workbook without the link breaking.

Use Absolute SharePoint URLs for Hyperlinks
Best Practice: Using absolute URLs ensures your links remain intact even if files are synced locally via OneDrive or moved across different SharePoint sites.
Free Microsoft Office alternative

Manage Your Spreadsheets Seamlessly with WPS Office

If you are looking for a reliable, lightweight spreadsheet tool that offers robust formatting and hyperlink control without unexpected path changes, try WPS Office. It provides high compatibility with Microsoft Excel files while being entirely free.

  1. 1. Download the software: Visit the official WPS Office website to download the free installer for your operating system.
  2. 2. Install WPS Office: Run the downloaded installation file and follow the quick on-screen instructions.
  3. 3. Open your spreadsheets: Launch WPS Spreadsheet and open your existing Excel workbooks to manage your data and hyperlinks with ease.
Fully compatible with Microsoft Excel formats (.xlsx, .xls, .csv).Easily insert and manage absolute and relative hyperlinks in spreadsheets.Free, lightweight, and fast installation on Windows, Mac, and Linux.Familiar user interface makes switching from Microsoft Office effortless.
QA img-9

Frequently Asked Questions

Why do Excel hyperlinks change when moved in SharePoint?

By default, Excel often saves hyperlinks as relative paths (e.g., pointing to a folder one level up). When you move the workbook to a new SharePoint folder, Excel tries to maintain that relative path from the new location, which usually points to the wrong file or folder.

What is the difference between an absolute and a relative hyperlink in Excel?

An absolute hyperlink contains the full web address (e.g., https://sharepoint.com/file.xlsx) and always points to the exact same file. A relative hyperlink contains only the path relative to the current workbook's location, meaning it will change if the workbook is moved.

Can I disable relative hyperlinks in Excel?

Yes. In Excel, you can go to File > Options > Advanced > Web Options > Files tab, and uncheck 'Update links on save'. However, this only applies to future links and might not retroactively fix files already moved or copied in SharePoint.