TRaP
Moderator
Inregistrat: acum 7 ani
Postari: 809
|
|
Sometimes the Normal.dotm file from %AppData%\Microsoft\Templates gets reset (as in deleted and replaced by a new Normal.dotm without macros in it.
To prevent this from happening, the Normal.dotm can be replaced with a template that is loaded the same way as a ribbon, by putting it in the folder %AppData%\Microsoft\Word\STARTUP
To create that template and replace a Normal.dotm that keeps resetting, do this:
1. Open Word (not a document), go to File - Open (or press CTRL+O), navigate to the folder %AppData%\Microsoft\Templates and open the Normal.dotm file that contains macros.
2. Go to File - Save As - navigate to %AppData%\Microsoft\Word\STARTUP and save it with the .dotm extension but with a different name than just "Normal".
3. Close all Word documents, and delete the file you previously used as Normal.dotm from %AppData%\Microsoft\Templates. Word will create a new, empty one, the first time you open Word.
4. Now the macros will work normally and should load without problems from your QAT without you having to re-create your buttons.
Editing the Modules in this template file will be a little more complicated, as you first have to disable it in Add-ins, then open the file with CTRL+O and work on the Modules, save it, then enable it in Add-ins and restart Word.
Source:
|
|