How to Fix Broken Links When Embedding SharePoint Excel Files in Visio
Question details
The user needs a reliable method to embed an Excel workbook stored in a SharePoint document library into a Visio file without breaking the link for other users.

- Product
- Microsoft Visio, Microsoft Excel, SharePoint
- Device & OS
- not provided
- Scenario
- Embedding an Excel sheet from a synchronized SharePoint folder into a Visio diagram to share with a team.
- Observed behavior
- Visio creates broken links because it uses the local synchronization path, which includes the specific Windows username, resulting in malformed URLs or duplicate filename errors when accessed by other users.
Verify whether your Visio and Excel files are stored on a local drive, a synchronized SharePoint folder, or entirely online before adjusting your link settings.
Use a Stable SharePoint Web URL
Bypassing the local OneDrive/SharePoint synchronization folder prevents Visio from saving user-specific paths containing your Windows username.
When you select a file using the standard Windows file browser in a locally synced SharePoint folder, Visio records the absolute path (e.g., C:\Users\[YourName]\SharePoint\...). By using the direct web URL, the link remains accessible to anyone with proper SharePoint permissions.
Open your web browser and navigate to your SharePoint document library. Find the Excel workbook, click the three dots (ellipsis) next to the file name, and select 'Copy link'.
Open your Microsoft Visio diagram. Go to the 'Insert' tab on the ribbon and click on 'Object'.
Choose 'Create from file', check the 'Link to file' option, and paste the SharePoint web URL you copied earlier into the file name box instead of browsing for the local file. Click 'OK' to establish the stable link.

Use Relative File Paths
If you must use local synchronization, utilizing a relative path can prevent broken links as long as both files remain in the exact same folder structure.
Manage Spreadsheets Easily with WPS Office
If you frequently encounter broken links and synchronization issues with Microsoft Office, consider switching to WPS Office. It offers a lightweight, highly compatible environment for your spreadsheets and documents, free from the complexities of mandatory local sync paths.
- 1. Download WPS Office: Get the free installation package from the official WPS website and install it on your device.
- 2. Open Your Spreadsheets: Launch WPS Spreadsheets and open your existing .xlsx files directly without worrying about format loss.
- 3. Collaborate Seamlessly: Use built-in WPS Cloud features to share and link documents without dealing with rigid local path synchronization issues.

Frequently Asked Questions
Why do my Visio links to Excel break when shared with coworkers?
When you link a file from a locally synced SharePoint folder, Visio saves the exact local path, which includes your specific Windows username (e.g., C:\Users\YourName\...). When a coworker opens it, Visio looks for your username on their computer, causing the link to fail.
Can I use relative paths in Visio for SharePoint files?
Yes, a relative path often works if both the Visio file and Excel workbook are saved in the exact same folder. However, link handling can vary depending on your Visio version, and sometimes Visio automatically prepends a web URL, breaking the relative path.
How do I get the stable web URL for a SharePoint Excel file?
Open your SharePoint document library in a web browser, click the three dots (ellipsis) next to the Excel file you want to link, and select 'Copy link'. This provides a direct web URL that works independently of local folder structures.




