Office Apps Not Opening

Fix the Word VBA Compile Error: Invalid Use of Property

Bushra ParveenBushra Parveen Nov 25, 2026 869 views

Question details

Resolve a VBA compile error that appears when Microsoft Word starts.

Fix the Word VBA Compile Error: Invalid Use of Property
Product
Microsoft Word
Device & OS
not provided
Scenario
The Visual Basic Editor opens during Word startup and displays a compile error.
Observed behavior
Word reports “Compile error: Invalid use of property,” potentially because of VBA code in an add-in or template.
Before you start

Note any recently installed add-ins or custom Word templates. The Safe Mode command and file paths below apply to Windows; menu names and locations may vary by Word version.

Solution 1Recommended

Test Word add-ins in Safe Mode

Use Safe Mode to check whether a startup add-in or template is contributing to the error.

1
Open Word in Safe Mode

On Windows, close Word, press Windows+R, enter winword /safe, and select OK. Check whether the error appears.

2
Disable COM add-ins

In Word, go to File > Options > Add-ins. Select COM Add-ins in the Manage list, choose Go, and clear the checkboxes for suspect add-ins.

3
Check Word add-ins

Return to File > Options > Add-ins, select Word Add-ins in the Manage list, and choose Go. Clear suspect global templates or add-ins on the Templates tab.

4
Restart and isolate

Close Word and open it normally. If the error is gone, re-enable add-ins one at a time through the same Add-ins menus, restarting Word after each change to identify the cause.

Test Word add-ins in Safe Mode
Interpreting the test: If the error does not appear in Safe Mode, a startup component is a likely cause. Safe Mode alone does not identify which component is responsible.
Free Microsoft Office alternative

Edit Word documents with WPS Writer

WPS Office is a free, lightweight Office alternative with a familiar interface and support for Microsoft Word formats, making it easy to move everyday document work. It does not repair Word's VBA error, and VBA-dependent templates may not work the same way.

Open and edit Microsoft Word DOC and DOCX documentsContinue everyday document editing while troubleshooting WordUse a familiar interface for a smoother move from Microsoft OfficeWork with a lightweight office suite available for free
microsoft office alternative - wps office

Frequently Asked Questions

Why does this VBA error appear when Word starts?

Word may load VBA code from an add-in or template during startup. An invalid property reference in that code can trigger the compile error.

How do I start Word in Safe Mode?

On Windows, close Word, press Windows+R, enter winword /safe, and select OK.

Will renaming Normal.dotm delete my macros and styles?

Renaming the file preserves the old template, but the new Normal.dotm will not automatically contain its customizations. Keep the renamed file so you can recover them.

Where can I find Word's Startup folder?

In Word, go to File > Options > Advanced > File Locations and check the Startup location. Close Word before moving templates out of that folder.

Does WPS Office fix the VBA error in Microsoft Word?

No. WPS Writer is an alternative for editing Word documents; use Word's add-in and template troubleshooting steps to address the error in Microsoft Word.