A family of Microsoft word processing software products for creating web, email, and print documents.
To open the template without creating a new document based on the template, you can use either of these methods:
- Open the Custom Templates folder in File Explorer. Right-click the icon of the template you want to edit, and choose the Open command instead of the New command. (The New command is boldface in the menu because it's the default action that runs when you just double-click the icon; don't do that.) When the file opens in Word, the title bar must show the template's filename and not something like "Document 1".
- Open Word first. Press the keyboard shortcut Ctrl+O (do not go to File > Open) to display the Open dialog. Navigate to the Custom Templates folder, select the template you want to edit, and click the Open button. Again, the title bar must show the template's filename.
As long as the template's filename, ending in .dotm, is in the title bar, saving any changes will save the template including the VBA.
By the way, it doesn't matter this time, but if you ever want to edit a template that's stored in Word's Startup folder at %appdata%\Microsoft\Word\STARTUP, you must first (with Word shut down) move that template out of the Startup folder to some other folder. Then start Word and open the template in its new location. The reason is that templates in the Startup folder are add-ins that load automatically while Word is starting, and an add-in won't allow you to access its VBA while the code is loaded in memory.