Creating Macros and adding to group menu on toolbar

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
 
P

Pranav Vaidya

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,
 
T

Terry Farrell

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top