How to Fix the Macro Could Not Be Created Error in Microsoft Word
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.

- 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.
Ensure you have saved all open documents and completely closed Microsoft Word before modifying system templates or running repair tools.
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.
Press the Windows key + R on your keyboard to open the Run command window.
Type %AppData%\Microsoft\Templates into the Run box and press Enter to open the folder in File Explorer.
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.
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.

Run the System File Checker (SFC)
Scan for and repair damaged Windows system files that might be interfering with Microsoft Office functionalities.
Repair Microsoft Office
Use the built-in Office repair utility to fix corrupted application files causing the macro creation failure.
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. Download WPS Office: Visit the official WPS website to download the free installation package for your operating system.
- 2. Install the Software: Run the installer and follow the quick setup wizard to install WPS Office on your device in minutes.
- 3. Open Your Word Documents: Launch WPS Writer and seamlessly open your existing .docx or .doc files to resume working without formatting loss.

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.




