SharePoint Document Issues

Fix Excel Links After Migrating Files to SharePoint

Jason MillerJason Miller Nov 13, 2026 871 views

Question details

The user needs to repair external Excel workbook links that break after local files are migrated to a SharePoint document library, because the SharePoint Migration Tool may update only part of the destination URL.

Fix Excel Links After Migrating Files to SharePoint
Product
Microsoft SharePoint Online and WPS Office Spreadsheet
Device & OS
not provided
Scenario
Local or on-premises files were migrated to a SharePoint document library, and Excel workbooks stored in different folders contain external workbook links.
Observed behavior
External workbook links may stop working or become invalid after migration because SharePoint Online URLs differ from the original local paths and the migration tool does not update all destination URLs.
Before you start

Open the affected workbook in WPS Office Spreadsheet and note which external links show as invalid. Make sure you have permission to access the migrated SharePoint library and that the linked workbooks are stored in their final locations before changing sources.

Solution 1Recommended

Update Excel external links manually in WPS Office Spreadsheet

Use this method when you need a quick, no-code repair for a small number of broken workbook links after SharePoint migration.

WPS Office Spreadsheet opens standard Excel workbooks and exposes the same external link definitions, so you can point each broken source to the new SharePoint Online location without writing a script.

1
Open the affected workbook

Launch WPS Office Spreadsheet, click File > Open, and open the workbook that displays the broken external link warning.

2
Open the Edit Links dialog

Click the Data tab on the ribbon, then click Edit Links in the Connections group.

3
Change the broken link source

In the Edit Links dialog, select the first broken source, click Change Source, and browse to the migrated workbook location in SharePoint Online.

4
Confirm and save

Select the correct workbook, confirm the update, repeat for other invalid links, and save the file to preserve the new SharePoint URLs.

Update Excel external links manually in WPS Office Spreadsheet
Manual repair is sufficient for small link sets: If the Edit Links command is grayed out, make sure the workbook is not protected and that it actually contains external link formulas.
Fix external links with WPS Office

Repair Broken Excel Workbook Links After SharePoint Migration with WPS Office

Open the migrated workbooks in WPS Office Spreadsheet and use Data > Edit Links to update each external link source to the new SharePoint Online URL. This resolves broken Excel references without scripts or extra paid tools.

  1. 1. Install WPS Office and open Spreadsheet: Download WPS Office from the official website, install it, and launch WPS Office Spreadsheet.
  2. 2. Open the workbook with broken links: Click File > Open and select the migrated workbook that is prompting about broken external links.
  3. 3. Edit and change the broken link source: Go to Data > Edit Links, select an invalid link, click Change Source, and choose the correct workbook in the SharePoint Online library.
  4. 4. Save and verify the repair: Repeat for each broken link, save the workbook, close and reopen it to confirm the external link warning no longer appears.
Free way to open and edit Excel workbooks without a Microsoft 365 subscriptionFully compatible with .xlsx, .xls, and other Microsoft Excel formatsDirectly repairs external workbook links that break after SharePoint URL changesFamiliar ribbon interface helps you find Edit Links and Change Source quickly
microsoft office alternative - wps office

Frequently Asked Questions

Why does the SharePoint Migration Tool leave Excel links broken?

SharePoint Online URLs are different from local or on-premises paths, and the migration process may update only part of the destination URL. As a result, external workbook links that point to other files can remain invalid after migration.

Can I fix broken Excel links without opening every workbook in Excel?

Yes. You can open the workbook in WPS Office Spreadsheet, go to Data > Edit Links, select the broken link, and use Change Source to point it to the new SharePoint Online file.

Will WPS Office keep my Excel links and formulas compatible with Microsoft Excel?

Yes. Save the repaired workbook as .xlsx, and formulas, external links, and workbook structure remain compatible with Microsoft Excel.

What if the Edit Links command is grayed out in WPS Office Spreadsheet?

This usually means the workbook is protected, already saved in a format that does not support external links, or contains no external link formulas. Remove protection or save it as a standard .xlsx file and try again.

Does WPS Office run VBA macros for bulk link replacement?

WPS Office has limited VBA macro support compared with Microsoft Excel. For a large-scale scripted replacement, use Microsoft Excel, PowerShell, or a third-party bulk link update tool on test copies first.