How to Fix Compile Error in Hidden Module Link in Word for Mac
Question details
Users need to resolve an error message related to a hidden module link that appears when launching Microsoft Word for Mac.

- Product
- Microsoft Word for Mac
- Device & OS
- macOS
- Scenario
- Launching Microsoft Word for Mac after installing or updating Adobe Acrobat DC.
- Observed behavior
- An error prompt stating 'Compile error in hidden module: link' appears on startup, caused by the Adobe Acrobat linkcreation.dotm add-in located in the Office startup folder.
Ensure that Microsoft Word and all other Microsoft Office applications are completely closed on your Mac before modifying any startup folder files.
Remove the Acrobat Add-in from the Word Startup Folder
Deleting the conflicting linkcreation.dotm file prevents Word from loading the incompatible Acrobat add-in at startup, resolving the compile error.
The error is triggered because the Adobe Acrobat add-in template is incompatible with the current version of Microsoft Word or macOS. Removing this specific file manually is the most effective way to restore normal Word functionality.
Right-click the Microsoft Word icon in your Mac Dock and select 'Quit'. Ensure no other Office programs like Excel or PowerPoint are running.
Click on your desktop to make Finder active. From the top menu bar, select 'Go' > 'Go to Folder', or press Command + Shift + G on your keyboard.
Type '~/Library/Group Containers/UBF8T346G9.Office/User Content.localized/Startup.localized/Word' into the search box and press Return to open the startup folder.
Locate the file named 'linkcreation.dotm'. Right-click the file and select 'Move to Trash', then empty your Mac's Trash.
Launch Microsoft Word again to verify that the 'Compile error in hidden module: link' message no longer appears.

Update Microsoft Word and Adobe Acrobat
Applying the latest software updates ensures you have the most recent bug fixes and compatibility patches for both applications.
Try WPS Office for a Seamless Mac Experience
If you are tired of dealing with complex add-in conflicts and compile errors in Microsoft Word for Mac, consider switching to WPS Office. It delivers a fast, stable, and unified office suite without the hassle of incompatible third-party plugins.
- 1. Download WPS Office for Mac: Visit the official WPS website and download the macOS version of WPS Office.
- 2. Install the Application: Open the downloaded installation package and drag the WPS Office icon into your Applications folder.
- 3. Open Your Documents: Launch WPS Office and open your existing Word documents seamlessly without worrying about add-in errors.

Frequently Asked Questions
What does 'Compile error in hidden module: link' actually mean?
This error means that Microsoft Word is attempting to run a macro or script inside an add-in (in this case, an Adobe Acrobat integration link) during startup, but the code has encountered an error because it is incompatible with your current version of Word or macOS.
Will deleting linkcreation.dotm prevent me from making PDFs on my Mac?
No. Deleting this add-in file only removes the dedicated Adobe Acrobat integration tab from the Word ribbon. You can still easily create PDFs by going to 'File' > 'Save As' and choosing PDF, or by selecting 'File' > 'Print' and choosing 'Save as PDF'.
Why does the error keep coming back after I delete the file?
When Adobe Acrobat DC updates in the background or via the Creative Cloud desktop app, it often reinstalls its add-ins automatically. If Adobe hasn't updated the add-in to be fully compatible with your Word version yet, the newly installed file will trigger the error again.




