File Sharing Problems

How to Fix OneDrive Links Not Working in Shared Excel Files

Camila MilosovichCamila Milosovich Oct 22, 2026 868 views

Question details

Users need a way to fix an issue where links to OneDrive PDF files inside a shared Excel workbook return an error for collaborators, despite working for the file owner.

Fix OneDrive Links That Do Not Work in Shared Excel Files
Product
Microsoft Excel, OneDrive
Device & OS
not provided
Scenario
Collaborators are trying to open linked PDF files hosted on OneDrive from within a shared Excel workbook.
Observed behavior
Clicking the link directly in the shared workbook displays an 'Invalid link' message for collaborators, though the link successfully opens if copied and pasted into a new browser tab.
Before you start

Verify that the linked PDF files still exist in the correct OneDrive folder and that their sharing permissions are set to 'Anyone with the link' before attempting further troubleshooting.

Solution 1Recommended

Test the Link Manually and Verify File Permissions

Confirming whether the issue stems from Excel's click-handling or actual file permissions is the quickest way to isolate the problem.

Often, shared workbooks restrict how hyperlinks behave depending on user sessions. Isolating the link from the workbook helps determine if the link is broken or if the browser environment is blocking the redirect.

1
Copy the hyperlink

Select the cell containing the broken link in the shared Excel workbook and copy the URL directly from the formula bar or by right-clicking and selecting 'Edit Hyperlink'.

2
Paste into a new tab

Open a new browser tab, paste the copied URL into the address bar, and press Enter to see if the PDF loads successfully.

3
Verify OneDrive permissions

If the link fails to load, navigate to the original PDF in your OneDrive account, click the 'Share' icon, and ensure the permission is set to 'Anyone with the link can view'.

Test the Link Manually and Verify File Permissions
Workaround Note: If the copied link works but clicking it inside Excel fails, ask your collaborators to use this copy-paste method as an immediate, temporary workaround while you troubleshoot browser settings.
Free Microsoft Office alternative

Try WPS Office for Seamless File Sharing and Collaboration

If Microsoft Excel and OneDrive links continue to cause friction, WPS Office provides a highly compatible, lightweight alternative. With robust built-in cloud sharing features, you can collaborate on spreadsheets without link-handling errors.

  1. 1. Download WPS Office: Install the free WPS Office suite from the official website onto your computer.
  2. 2. Open Your Spreadsheet: Launch WPS Spreadsheet and open your existing .xlsx file. Your formatting and data will remain perfectly intact.
  3. 3. Share Easily: Use the Share button at the top right to generate a reliable WPS Cloud link that anyone can open without permission conflicts.
Fully compatible with Microsoft Excel (.xlsx) formats and hyperlinks.Built-in WPS Cloud ensures smooth and reliable link sharing.Lightweight, fast software with a familiar, easy-to-use interface.Free to use for everyday spreadsheet creation and document collaboration.
microsoft office alternative - wps office

Frequently Asked Questions

Why do OneDrive links work for me but not for others in my shared Excel file?

This usually happens due to file permission settings in OneDrive. If the link was generated for 'Specific people' or 'People in your organization' rather than 'Anyone with the link', external collaborators will see an invalid link error, even if they have access to the Excel file itself.

Can clearing my browser cache fix Excel Online link issues?

Yes. Outdated cached data or conflicting Microsoft account logins stored in your browser can prevent links from authenticating correctly. Clearing your cache or using an InPrivate window forces a fresh session.

Is there a way to fix the 'Invalid link' error permanently in Excel?

If permissions are verified and the issue persists, try recreating the hyperlink in Excel using the '=HYPERLINK()' formula referencing a fresh 'Anyone' sharing link from OneDrive. This forces Excel to rebuild the redirect path.