Office Settings & Configuration

How to Fix VBA and EndNote Template Errors in Microsoft Word

Maira MehtabMaira Mehtab Nov 2, 2026 869 views

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.

How to Fix VBA and EndNote Template Errors in Microsoft 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.
Before you start

Make sure you have administrative privileges on your computer, as modifying Trust Center settings or repairing add-ins may require IT permissions.

Solution 1Recommended

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.

1
Open Word Options

Open Microsoft Word, click on 'File' in the top-left corner, and select 'Options'.

2
Access the Trust Center

Navigate to 'Trust Center' on the left pane and click the 'Trust Center Settings' button.

3
Adjust Macro Settings

Select 'Macro Settings' from the left menu, choose the 'Disable all macros with notification' option, and click 'OK' to apply the changes.

Configure Word Macro Security Settings
IT Restrictions: If these settings are greyed out or unavailable, your school or company IT administrator may have restricted them. Contact them to adjust your macro security level.
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
  2. 2. Install the Software: Run the installer and follow the quick setup process to install WPS Office on your device.
  3. 3. Open Your Documents: Launch WPS Writer and open your existing Word documents seamlessly with intact formatting.
Fully compatible with Microsoft Word formats (.docx, .doc, .dotm)Lightweight installation with zero bloatware and fast launch speedsFamiliar, user-friendly interface for a seamless migrationFree to use with powerful built-in PDF and formatting tools
microsoft office alternative - wps office

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.