saving macros for use on another machine

J

Jackie D

Hi

I created a macro (with the help of this news groups) to save a true backup
of my Word documents. I am about to load Office 2003 on my machine and
wondered if it is necessary, or even possible, to save the macro settings if
it doesn't automatically appear in my normal.dot template. If I save the
normal.dot template containing the macro, will this ensure the macro is still
available after I install 2003?
 
A

Anne Troy

As long as the macro is installed there, and as long as you create a copy of
your normal.dot and put it back on the machine, you'll be fine.
*******************
~Anne Troy

www.OfficeArticles.com
 
J

Jean-Guy Marcil

Jackie D was telling us:
Jackie D nous racontait que :
Hi

I created a macro (with the help of this news groups) to save a true
backup of my Word documents. I am about to load Office 2003 on my
machine and wondered if it is necessary, or even possible, to save
the macro settings if it doesn't automatically appear in my
normal.dot template. If I save the normal.dot template containing the
macro, will this ensure the macro is still available after I install
2003?

Yes, but Normal.dot is not always the best place for storing macros you want
to use and save.

Create a template, like "myMacros.dot" (Change your old Normal.dot's name)
and store that template in Word's start-up folder (See Tools > Options... >
File Locations tab > Start-up folder). This will make your template a global
one and all its macros, autotext, toolbars will be available to all
documents. This way, if you have to recreate Normal.dot after it is
corrupted, or if you want to share your macros with others, all you have to
do is use your MyMacros.dot template and will not have an impact on other
Normal.dot's..

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
J

Jackie D

Thanks for the tip but I think I am a little confused by the difference
between the global template and the normal.dot template. If I do as you
suggest, does that mean the normal.dot template won't have the macros when I
click File\New? Or does it mean the normal.dot is based on the newly created
global template?
 
J

Jonathan West

Jackie D said:
Thanks for the tip but I think I am a little confused by the difference
between the global template and the normal.dot template. If I do as you
suggest, does that mean the normal.dot template won't have the macros when
I
click File\New? Or does it mean the normal.dot is based on the newly
created
global template?

this article will help you understand what is going on.

Distributing macros to other users
http://www.word.mvps.org/FAQs/MacrosVBA/DistributeMacros.htm


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 
J

Jean-Guy Marcil

Jackie D was telling us:
Jackie D nous racontait que :
Thanks for the tip but I think I am a little confused by the
difference between the global template and the normal.dot template.
If I do as you suggest, does that mean the normal.dot template won't
have the macros when I click File\New? Or does it mean the normal.dot
is based on the newly created global template?

Normal.dot will not hold the macros, but because you use a global template,
all macros will be available anyway. The easiest is to build a toolbar with
buttons to call the macros. Open the global template, Tools >Customize....
Add a new toolbar (Toolbar tab), make sure it will be saved in the global
template (Save in at the bottom of the dialog from the Command Tab). Then,
from the Command tab, select the Macro category on the left, look for your
macro on the right. Drag the one you want to appear on your new toolbar to
the toolbar itself. Right click the created button, change its name as you
want. Also, look in the category section, at the end. There is New menu.
Drag the New Menu item from the section on the right on your toolbar. Use
that to create a Dropdown type of menu.

Normal.dot is a template and as such cannot be based on another template.
Normal.dot is the template Word uses to create documents if no specific
template is used (Like when you do File > New). All Word documents must be
based on a template, Normal.dot being the default one.

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

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