logo
search
VBA & Macro Problems

How to Fix the Macro Could Not Be Created Error in Microsoft Word

Emma BrownEmma Brown Oct 7, 2026 869 views

Question details

The user is unable to record a macro in Microsoft Word due to an error message stating that the macro could not be created.

How to Fix the Macro Could Not Be Created Error in Microsoft Word
Product
Microsoft Word
Device & OS
Windows
Scenario
Attempting to record a new macro to automate tasks within a Word document.
Observed behavior
Microsoft Word halts the recording process and displays a warning prompt that a macro could not be created.
Before you start

Ensure you have saved all open documents and completely closed Microsoft Word before modifying system templates or running repair tools.

Solution 1Recommended

Reset the Normal.dotm Global Template

Replacing the potentially corrupted Normal.dotm file forces Word to generate a fresh, error-free default template upon restarting.

The Normal.dotm file stores default styles, customizations, and global macros for Word. A corrupted template is the most common cause of macro creation failures.

1
Open the Run Dialog

Press the Windows key + R on your keyboard to open the Run command window.

2
Navigate to the Templates Folder

Type %AppData%\Microsoft\Templates into the Run box and press Enter to open the folder in File Explorer.

3
Backup and Rename Normal.dotm

Locate the file named Normal.dotm. Right-click on it and select 'Rename', changing it to Normal.old, or move it to a safe backup location on your desktop.

4
Restart Microsoft Word

Open Microsoft Word again. The application will automatically create a brand new Normal.dotm file. Try recording your macro to see if the error is resolved.

Reset the Normal.dotm Global Template
Custom Settings Recovery: If resetting the template fixes the issue, you will lose previous custom styles. Keep your Normal.old file in case you need to manually recover specific settings later.
Free Microsoft Office alternative

Switch to WPS Office for Reliable Document Management

If Microsoft Word continuously fails to record macros or experiences template corruption, consider switching to WPS Office. It is a highly compatible, lightweight alternative that handles your daily document processing needs smoothly without heavy system errors.

  1. 1. Download WPS Office: Visit the official WPS website to download the free installation package for your operating system.
  2. 2. Install the Software: Run the installer and follow the quick setup wizard to install WPS Office on your device in minutes.
  3. 3. Open Your Word Documents: Launch WPS Writer and seamlessly open your existing .docx or .doc files to resume working without formatting loss.
Free and lightweight Office alternativeFully compatible with Microsoft Office formats including .docx, .doc, and .dotmFamiliar user interface for a seamless transitionStable performance for complex document formatting and daily tasks
microsoft office alternative - wps office

Frequently Asked Questions

What happens if I delete the Normal.dotm file in Word?

Deleting or renaming the Normal.dotm file will not delete your personal documents. When you reopen Word, the software simply creates a fresh default template. You will only lose custom styles, macros, and shortcut keys saved specifically to that global template.

How can I retrieve my customizations from the old Normal.dotm file?

If resetting the template fixed the macro error but you need your old customizations, you can use the Organizer tool in Word (found under Developer > Document Template). This allows you to copy specific styles or macro modules from your backed-up Normal.old file into the newly generated Normal.dotm.

Why does the macro creation error happen?

This error generally occurs when the global template (Normal.dotm) becomes corrupted, preventing Word from writing new code to it. It can also be caused by underlying Windows system file corruption or damaged Microsoft Office installation files.

Does this macro error affect Excel or PowerPoint?

The Normal.dotm template is specific to Microsoft Word. If you experience macro creation errors across all Office applications, the issue is likely tied to corrupted Office installation files or Windows system files, which requires an Office repair or SFC scan rather than a template reset.