How to Fix Absolute Template Paths for Word Macro-Enabled Templates
Question details
Users need to prevent Word documents created from SharePoint macro-enabled templates from locking onto user-specific local file paths.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Multiple users opening a Word document tied to a macro-enabled template hosted on SharePoint.
- Observed behavior
- Word defaults to saving a local template path tied to the original document creator's user profile, causing macros to become unavailable when other users attempt to open the file.
Ensure you have administrative permissions to set up shared network folders and configure Trust Center settings across the workgroup devices.
Configure a Shared Workgroup Template Location
Set up a consistent, universally accessible network path for your templates so that Word maps the same directory for all users.
By configuring a Workgroup Templates location, you force Word to look for attached templates in a trusted network folder rather than a local user profile. This ensures macros and building blocks load seamlessly for everyone.
Create a shared network folder (e.g., a mapped drive or synced enterprise folder) that maintains an identical file path for all users who need access to the macro-enabled templates.
Open Microsoft Word, navigate to 'File' > 'Options' > 'Advanced', and scroll down to click the 'File Locations' button.
Select 'Workgroup templates' from the list, click 'Modify', and browse to the shared network folder you created. Click 'OK' to save.
Go to 'File' > 'Options' > 'Trust Center' > 'Trust Center Settings' > 'Trusted Locations'. Add the new shared folder path to ensure macros run without security warnings.

Utilize Global Templates Instead of Document Templates
Load the macro-enabled template as a global add-in so its macros are available across all documents, bypassing the need for individual document attachments.
Try WPS Office for Seamless Document Management
Avoid complex absolute path errors and macro security headaches. WPS Office is a highly compatible, lightweight, and free alternative to Microsoft Office that makes document sharing and template management effortless without requiring tedious network folder configurations.
- 1. Download and Install: Visit the official WPS Office website to download the free installation package for your operating system.
- 2. Open your files: Launch WPS Office and directly open your existing Word documents. WPS seamlessly reads standard document structures and formatting.
- 3. Manage templates effortlessly: Use the integrated template library or easily save custom document layouts without wrestling with absolute network path configurations.

Frequently Asked Questions
Why do Word macros disappear when a SharePoint document is shared?
When creating a document from a macro-enabled template (.dotm) on SharePoint, Word often saves the template's absolute local path (e.g., C:\Users\Name\...) instead of a relative SharePoint URL. When another user opens it, Word cannot find that specific local path on their computer, rendering the macros inaccessible.
What is the difference between a document template and a global template in Word?
A document template (.dotx or .dotm) is attached to a specific file, providing styles and macros only to that document. A global template is placed in Word's Startup folder; its macros, autotext entries, and custom toolbars load automatically and are available to any open document.
How do I manually fix the attached template path of an existing Word document?
Enable the Developer tab, click 'Document Template', and under the 'Templates' tab, check the 'Document template' field. If the path points to another user's local drive, click 'Attach' and browse to the correct shared network location to link the proper template.
Will syncing SharePoint locally via OneDrive fix absolute template path issues?
Not inherently. Syncing SharePoint via OneDrive still creates user-specific paths (e.g., C:\Users\YourName\Company Name\...). Unless you map the synced folder to an identical drive letter (like Z:) for all users, the absolute path mismatch will persist.




