Creating Macros and adding to group menu on toolbar

  • Thread starter Thread starter Phildunc
  • Start date Start date
P

Phildunc

Hi,

I'm using Word 2003 and I have created several macros. I've also created
several new menus on the toolbar to make these macros easily assessible. My
problem is, that when I close Word, it should be asking to save my normal
template since I've applied changes and it isn't. Therefore, everything I've
created and assigned to the toolbar is lost when word is reopened. Is there
a setting that I must change to make this stick?

Thanks in advance!
Phyllis
 
The best way to do such things is create a new Word Template (.DOT) and store
all you macros in that file.

Move your Menu creation code to Open event of this template and later on you
can add this template to your addins collection in Word from
Tools-->Templates and Addins.

This way will give you more flexibility.
Moreover, users may not save the changes always while close Word. You can
also check 'Saved' property of a template and set to TRUE/FALSE as per the
case.

HTH,
 
The problem with normal.dot not being saved is usually down to a bad add-in
and by far the biggest culprit is the Adobe Acrobat add-in. You can update
that from Adobe.

But as previously answered, the best solution is to create a separate
template (call it something like MyCustom.dot) and save your toolbars and
macros to the new template. Put that template in the Word Start-up folder.
Now when you open Word, the toolbars will be loaded and the macros will be
available with any other template you may want to use.
 
Back
Top