logo
search
VBA & Macro Problems

Fix Microsoft Word Crashing When Opening VBA Editor or Running Macros

Chanuka GeekiyanageChanuka Geekiyanage Oct 14, 2026 870 views

Question details

The user needs to resolve an issue where Microsoft Word crashes immediately upon opening the Visual Basic Editor or executing macros, despite VBA working fine in Excel.

How to Fix Word Crashing When Opening the VBA Editor or Running Macros
Product
Microsoft Word
Device & OS
not provided
Scenario
Attempting to write, edit, or run VBA macros within the Microsoft Word application.
Observed behavior
Microsoft Word unexpectedly crashes and closes when the VBA Editor is accessed or a macro is run, which is typically caused by a corrupted Normal.dotm global template.
Before you start

Close all active instances of Microsoft Word and locate your Microsoft Templates folder, as you will need to modify the global template file to resolve the crash.

Solution 1Recommended

Recover Macros Using the Word Organizer Tool

Use the built-in Organizer to safely extract your macros from the corrupted Normal.dotm template and transfer them to a new, stable template.

If your Normal.dotm template is only partially corrupted, you can often salvage your VBA modules without losing code. The Organizer tool allows you to copy macros between templates without directly opening the VBA Editor, avoiding the crash trigger.

1
Open Microsoft Word

Launch Microsoft Word and open a blank document.

2
Access the Organizer

Press Alt + F8 (or Alt + Fn + F8 on some laptops) on your keyboard to open the Macros dialog box, then click the 'Organizer' button.

3
Copy the macro modules

In the Organizer window, locate your macro modules on the side displaying the corrupted Normal.dotm template. Select the modules you want to keep and copy them over to the new active document or another trusted template.

Recover Macros Using the Word Organizer Tool
Warning: If Word crashes as soon as the Organizer accesses the damaged template, the file is entirely unusable. You will need to proceed to the next solution and rely on a backup.
Free Microsoft Office alternative

Experience Crash-Free Document Editing with WPS Office

If persistent Microsoft Word crashes and corrupted templates are slowing down your workflow, consider switching to WPS Office. It provides a lightweight, highly stable environment for your daily document processing without the heavy overhead and frequent errors of traditional Office suites.

  1. 1. Download the installer: Visit the official WPS Office website and download the free installation package.
  2. 2. Install WPS Office: Run the installer and follow the on-screen prompts to set up the software on your computer.
  3. 3. Open your Word documents: Launch WPS Writer and open your existing .docx files to continue working seamlessly without formatting loss.
Fully compatible with Microsoft Word .doc and .docx formatsLightweight architecture ensures fast startup and stable performanceFree to use with an intuitive, familiar user interfaceReduces the risk of global template corruption during daily use
QA img-9

Frequently Asked Questions

Where is the Normal.dotm file located on Windows?

By default, the Normal.dotm file is located in the hidden AppData folder. You can access it by pressing Windows + R, typing '%appdata%\Microsoft\Templates', and pressing Enter.

Why does the VBA editor crash in Word but work perfectly in Excel?

Microsoft Word and Excel manage global templates differently. Word relies on the Normal.dotm file, whereas Excel uses Personal.xlsb. A corruption in Word's template file will cause Word to crash when accessing VBA, while Excel remains completely unaffected.

What happens to my macros when I rename Normal.dotm?

When you rename Normal.dotm, Word generates a brand new, default template the next time it opens. Any custom macros, styles, or keyboard shortcuts stored in the old template will no longer be available unless you manually copy them over using the Organizer tool.