How to Create Friendly Links to SharePoint Files From Word and Excel
Question details
The user wants to know if there is a way in Word or Excel to create friendly hyperlinks that open specific worksheets, cells, pages, or bookmarks within SharePoint documents.

- Product
- Word and Excel
- Device & OS
- not provided
- Scenario
- Creating hyperlinks that point directly to targeted content (like a specific cell or bookmark) within a SharePoint-hosted file.
- Observed behavior
- There is no built-in feature that perfectly supports creating these specific deep links out of the box, requiring workarounds like VBA or third-party add-ins.
Before proceeding, ensure you have basic familiarity with VBA (Visual Basic for Applications) and have the necessary permissions to run macros or install add-ins in your software environment.
Use VBA Scripts to Create Custom Deep Links
Since there is no built-in feature to create deep links to specific cells or bookmarks in SharePoint files, using VBA is the most effective workaround.
VBA can be used to construct URLs that append specific anchor tags (like cell references or bookmark names) to the end of a SharePoint file path.
Press ALT + F11 in Word or Excel to open the Visual Basic for Applications Editor.
Click 'Insert' from the top menu and select 'Module' to create a blank workspace for your script.
Write or paste a VBA macro designed to append the specific cell reference (e.g., '#Sheet1!A1') or bookmark name to your SharePoint URL and trigger the default browser to open it.
Return to your document, insert a shape or button, right-click it, and select 'Assign Macro' to connect your new VBA script. This object will now act as your friendly clickable link.
Explore Third-Party Office Add-ins
If you prefer not to write and maintain VBA code, a third-party add-in from the Office Store might provide the advanced hyperlinking features you need.
Try WPS Office for Seamless Document Management
While complex SharePoint deep linking might require custom VBA in Microsoft Office, WPS Office offers a lightweight, free alternative with excellent hyperlink and bookmark management. It provides a familiar interface and robust tools to structure your documents efficiently.

Frequently Asked Questions
Can I link directly to a specific cell in an Excel file hosted on SharePoint?
By default, standard SharePoint links open the workbook at the default view but do not jump to a specific cell. You must append the sheet and cell reference (e.g., ?activeCell=%27Sheet1%27!A1) to the URL or use VBA to force the navigation.
How do I link to a specific page or bookmark in a Word document on SharePoint?
You can sometimes append '#BookmarkName' to the end of the SharePoint document URL. However, ensuring this works consistently across different web browsers and client applications often requires custom macro solutions or specific add-ins.
Why doesn't the standard 'Insert Hyperlink' feature work for deep linking in SharePoint?
The built-in hyperlink tool is primarily designed for standard web URLs and local file paths. SharePoint's web-based document rendering handles URLs differently, which can strip or ignore standard anchor tags unless they are specifically formatted for the SharePoint environment.




