Forum Discussion
Macro keyboard shortcuts not working in new macro template document
I would suggest that you start with creating a true template with the *.dotm extension. (A macro-enabled document, *.docm, is still just a document.)
Since you are using the name "Normal," are you trying to replace Word's predefined Normal.dotm template? That isn't a good idea. You can customize the Normal template or you can use some other template (with a different name) and load it as an add-in, by putting it in Word's Startup folder.
- susanc06Apr 20, 2021Copper ContributorI already created such a template. The template that I am using is called Macrotemplate.dotm. It is in the folder C:\Users\[myname]\Documents\Custom Office Templates. It is visible when I click File > New. I don't recall but I imagine I selected that folder name, then told the software where to find it.
There is also a Normal.dotm in the folder: C:\Users\[myname]\AppData\Roaming\Microsoft\Templates. I, again, cannot recall whether I created this or whether the system did. So I don't recall whether I was intentionally changing Word's Normal.dotm or not. All my macros are in the Normal.dotm document. So I must have put them there!
When I create my macro document, I click File > New & select the template called MacroTemplate.dotm.
Should I put this MacroTemplate.dotm in the Word Startup folder? or do something else? Should I do something to change my Normal.dotm back to the default?
Thank you!- Stefan_BlomApr 22, 2021MVPYou will have to put your MacroTemplate.dotm in Word's Startup folder. That is the only way to ensure that the template is loaded into memory when Word starts. Macros and key assignments in that template will be active each time you start Word.
The Normal.dotm template is Word's default template. It is always present. If you delete it (NOT recommended) or rename it, it will be recreated.- chundhauFeb 14, 2022Copper Contributor
Stefan_Blom Was there ever a resolution to this question? I am experiencing the same issue as Susan. The issue seems to have started with the migration to Windows 11. Keystroke shortcuts for my custom macros (part of the Normal template) show up in File->Options->Customize Ribbon->Customize keyboard shortcuts (button). However, the keyboard shortcuts do NOT work! However, I am able to manually run the macros through the Developer->Macros dialog box. Please help!