I have VBA code in Excel that calls a Word file in a specified local folder.
For some users it turns the following error:
The macros in this project are disabled. Please refer to the online help or documentation of the host application to determine how to enable macros
The error appears as the code is supposed to move from Excel to the Word file.
What I've tried so far:
Excel Trust Center:
- The entire location (including subfolders are trusted).
- "Allow documents on a network to be trusted" is checked.
- Disable all macros with notification is "checked".
I cannot change this as it is greyed out. However, this setting is the same for all users. - Protected view is disabled.
Word Trust Center
- Protected view is disabled.
- Opening the Word file doesn't produce any "enable macros" notifications.