SOLVED

Word Macros issues

%3CLINGO-SUB%20id%3D%22lingo-sub-3516645%22%20slang%3D%22en-US%22%3EWord%20Macros%20issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3516645%22%20slang%3D%22en-US%22%3E%3CP%3EI%20depend%20on%20macros.%26nbsp%3B%20Either%20randomly%20or%20every%20time%20I%20have%20to%20reboot%20(e.g.%2C%20for%20updates)%20Word%20asks%20me%20if%20I%20want%20to%20save%20the%20template.%20No%20matter%20what%20I%20say%2C%20the%20normal.dotm%20reverts%20to%20nothing.%20I%20have%20tried%20to%20back%20it%20p%20as%20a%20document%2C%20but%20that%20doesn%E2%80%99t%20work.%20I%20have%20coped%20the%20macros%20as%20a%20text%20file%20and%20tried%20to%20paste%20it%20back%20in%20and%20that%20doesn't%20work.%20It%20tame%20me%20hours%20to%20rebuild%20the%20macros.%20I%20am%20desperate.%20Please%20help!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3516645%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWord%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3523212%22%20slang%3D%22en-US%22%3ERe%3A%20Word%20Macros%20issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3523212%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1426523%22%20target%3D%22_blank%22%3E%40George_Schwarz_newsg%3C%2FA%3E%26nbsp%3BIn%20the%20Visual%20Basic%20Editor%2C%20expand%20the%20Normal%20project%20and%20select%20each%20of%20the%20Modules%20in%20turn%20and%20then%20from%20the%20File%20Menu%2C%20click%20on%20Export%20and%20save%20the%20modules%20to%20a%20location%20on%20your%20computer.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThen%2C%20create%20a%20new%20document%20and%20save%20it%20as%20a%20Macro-Enabled%20Template%20(.dotm)%20in%20the%20Word%20Startup%20folder%20at%20(C%3A%5CUsers%5C%5Byour%20user%20name%5D%5CAppData%5CRoaming%5CMicrosoft%5CWord%5CSTARTUP%3C%2FP%3E%0A%3CP%3EThen%20select%20that%20project%20in%20the%20Visual%20Basic%20Editor%20and%20using%20Import%20on%20the%20File%20menu%2C%20import%20the%20modules%20that%20you%20exported%20in%20the%20first%20step%20above.%26nbsp%3B%20Then%2C%20click%20on%20the%20Save%20button%20in%20the%20Visual%20Basic%20Editor.%3C%2FP%3E%0A%3CP%3EThen%2C%20close%20Word%2C%20and%20rename%20the%20normal.dotm%20template%20to%20OldNormal.dotm%20and%20restart%20Word.%26nbsp%3B%20You%20macros%20will%20then%20be%20available%20from%20the%20file%20that%20you%20saved%20to%20the%20Startup%20folder%20as%20it%20will%20have%20been%20loaded%20as%20an%20Add-in.%3C%2FP%3E%0A%3CP%3EIf%20there%20were%20other%20customizations%20in%20the%20original%20Normal.dotm%20template%20that%20you%20want%20to%20retain%2C%20with%20Word%20shut%20down%2C%20delete%20the%20new%20Normal.dotm%20that%20was%20created%20and%20rename%20the%20original%20one%20by%20removing%20the%20Old%20from%20the%20file%20name%2C%20then%20restart%20Word%20and%20access%20the%20Visual%20Basic%20Editor%20and%20remove%20the%20modules%20from%20the%20Normal%20project.%3C%2FP%3E%0A%3CP%3EWith%20the%20macros%20in%20the%20Add-in%2C%20they%20will%20be%20quarantined%20from%20any%20misadventures%20suffered%20by%20the%20Normal.dotm%20template.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3537794%22%20slang%3D%22en-US%22%3ERe%3A%20Word%20Macros%20issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3537794%22%20slang%3D%22en-US%22%3EIt%20seems%20awfully%20complicated%2C%20but%20thank%20you.%20I'll%20give%20it%20a%20try.%3C%2FLINGO-BODY%3E
New Contributor

I depend on macros.  Either randomly or every time I have to reboot (e.g., for updates) Word asks me if I want to save the template. No matter what I say, the normal.dotm reverts to nothing. I have tried to back it p as a document, but that doesn’t work. I have coped the macros as a text file and tried to paste it back in and that doesn't work. It tame me hours to rebuild the macros. I am desperate. Please help!

2 Replies
best response confirmed by George_Schwarz_newsg (New Contributor)
Solution

@George_Schwarz_newsg In the Visual Basic Editor, expand the Normal project and select each of the Modules in turn and then from the File Menu, click on Export and save the modules to a location on your computer.  

Then, create a new document and save it as a Macro-Enabled Template (.dotm) in the Word Startup folder at (C:\Users\[your user name]\AppData\Roaming\Microsoft\Word\STARTUP

Then select that project in the Visual Basic Editor and using Import on the File menu, import the modules that you exported in the first step above.  Then, click on the Save button in the Visual Basic Editor.

Then, close Word, and rename the normal.dotm template to OldNormal.dotm and restart Word.  You macros will then be available from the file that you saved to the Startup folder as it will have been loaded as an Add-in.

If there were other customizations in the original Normal.dotm template that you want to retain, with Word shut down, delete the new Normal.dotm that was created and rename the original one by removing the Old from the file name, then restart Word and access the Visual Basic Editor and remove the modules from the Normal project.

With the macros in the Add-in, they will be quarantined from any misadventures suffered by the Normal.dotm template.

It seems awfully complicated, but thank you. I'll give it a try.