How to Fix VBA and EndNote Template Errors in Microsoft Word
Question details
The user is experiencing an error stating that VBA or macro language support is missing when loading the EndNote Cwyw.dotm template in Word.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Opening a Word document or launching Word with the EndNote add-in enabled.
- Observed behavior
- Word displays an error indicating missing VBA or macro support when attempting to load the temporary EndNote Cwyw.dotm template.
Make sure you have administrative privileges on your computer, as modifying Trust Center settings or repairing add-ins may require IT permissions.
Configure Word Macro Security Settings
Adjusting the Trust Center settings ensures that Word allows the required macros for the EndNote add-in to run while maintaining security.
The EndNote add-in requires VBA support to properly format citations. If macros are entirely disabled without notification, the integration will fail.
Open Microsoft Word, click on 'File' in the top-left corner, and select 'Options'.
Navigate to 'Trust Center' on the left pane and click the 'Trust Center Settings' button.
Select 'Macro Settings' from the left menu, choose the 'Disable all macros with notification' option, and click 'OK' to apply the changes.

Repair or Reinstall the EndNote Add-in
If macro settings are correct but the error persists, the EndNote integration file (Cwyw.dotm) may be corrupted or incompatible with your current Microsoft 365 version.
Verify Word Startup Trusted Locations
Ensure that the primary Word STARTUP folder is recognized as a trusted location, allowing permanent templates to load securely.
Experience Hassle-Free Document Editing with WPS Office
Struggling with complex add-in errors and macro restrictions in Microsoft Word? WPS Office offers a free, lightweight, and highly compatible alternative that makes document processing simple and efficient, without the headache of constant configuration errors.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install the Software: Run the installer and follow the quick setup process to install WPS Office on your device.
- 3. Open Your Documents: Launch WPS Writer and open your existing Word documents seamlessly with intact formatting.

Frequently Asked Questions
Why does the EndNote Cwyw.dotm template cause a VBA error?
This error occurs because the EndNote add-in relies on Visual Basic for Applications (VBA) macros to function. If Word's security settings strictly disable macros, the template fails to load, triggering the error.
Should I add the temporary EndNote template folder to Word's trusted locations?
No. The EndNote template often generates in a temporary folder (like AppData\Local\Temp). Adding temporary folders to your Trusted Locations is a major security risk and should be avoided.
Can I permanently run Word as an administrator to fix macro errors?
While running Word as an administrator might temporarily bypass permission issues, it is not recommended as a permanent fix due to significant security vulnerabilities. It is safer to correct the macro settings directly in the Trust Center.
Are missing C++ redistributable packages causing the macro error?
Generally, no. VBA and macro errors related to the Cwyw.dotm template are almost exclusively caused by Word's Trust Center settings, lack of permissions, or a corrupted EndNote add-in, not missing Microsoft C++ redistributables.




