Import of templates and macros to WORD 2007

A

ATK31

Hi,

I am migrating from OFFICE 2000 to OFFICE 2007.

I have several TEMPLATES (*.dot) and numerous MACROS (*.bas) created in WORD
2000.

How can I IMPORT these templates and macros so that I can use them in WORD
2007?

Are there any comprehensive documents that assist with migrating from OFFICE
2000 to OFFICE 2007?

Thank you for your help.

ATK
 
G

Graham Mayor

Word can use DOT templates without modification. Copy them to the user
templates folder.
Macros in those templates (and any you import from BAS files to the VBA
editor) will for the most part run, but there are some exceptions depending
on what they contain. Some functions have been removed and some have been
changed - e.g. the use of autoteext entries. You will have to try them and
see what doesn't work and then come back for suggestions on how to fix them.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
A

ATK31

Thank you Graham,

I did copy the templates to that folder.

A document opened using the template called NORMAL.DOT indeed functions
properly with all the macros and all the keyboard shortcuts.

However, new documents created using ANY of the OTHER TEMPLATES do not have
any macros at all! When I click “Developer†--> “Macros†in these other
documents, I see a blank window. Only when I create a new document using
NORMAL.DOT I indeed see all my Macros and can use them properly.

Thank you for your help.
 
G

Graham Mayor

Macros that are stored in DOT templates should be available to documents
created from them if the templates are stored in a trusted location (which
the User templates Folder should be). The default setting for macro security
is to disable all macros in documents not stored in a trusted location.
Check Word Options > Trust Center > Trust Center settings.

The default template for Word 2007 is normal.dotM not normal.dot.
Normal.dotm will be stored in the user templates folder, which is a trusted
location.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
A

ATK31

Thank you Graham,

I put all my legacy templates (*.dot) in the same trusted location,

C:\documents and settings\user\application data\microsoft\templates

which is also the location where the Word 2007 normal.dotM is located.

My problem, as stated in my first posting, is that the macros are available
in ONLY ONE of my legacy templates, the template called Normal.dot.

Only a document created using the legacy template Normal.dot has all my
macros. A document created with ANY of the other legacy templates DOES NOT
have ANY of the macros.

Using the other legacy templates is very important.

Thank you for your help.

ATK
 
G

Graham Mayor

Are you sure that the templates contained the macros and not your old
normal.dot? If they were in the old normal.dot, move them from normal.dot to
normal.dotm (ALT+F8 > Organizer). If the macros are actually in the document
templates, they should still be in the document templates.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
A

ATK31

Thank you Graham,

Yes. In my old PC, I see all the macros in a document created with either
normal.dot or with any of the other *.dot templates.

It is very important for me to be able to use the *.dot templates as I
intend to use WORD 2007 in the “compatibility modeâ€, i.e., using the *.dot
templates rather then the *.dotM templates.

They should be in the document templates but there ARE NOT in the document
templates. This is the topic of my posting.

Thank you for your help.
 
G

Graham Mayor

Can you e-mail me one of your templates to the link on the home page of my
web site so that I can see what we are dealing with?

In Word 2003, the macros would be available to your document templates if
they were stored in normal.dot. Word 2007 does not use normal.dot (unless
you specifically create documents from it), which is why I suspect that your
macros are contained only in that template and not in your document
templates. It would also explain why they are not available when using your
document templates, but they are when you create documents from normal.dot.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
A

ATK31

Dear Graham,

Thank you very much for your help.

I think that you found the crux of the problem!

I assume that this also applies to WORD 2000. Thus, when I see the macros in
documents created using all my other templates in WORD 2000, the program just
mirrors the macros that are actually contained only in normal.dot but are not
contained in any of the other templates.

This is indeed very reasonable.

Now, as you have solved the mystery of the missing macros, could you please
instruct me how to insert my set of macros into the other *.dot templates so
that I can continue using these *.dot templates in WORD 2007?

It is very important for me to be able to use the “old†*.dot templates as I
intend to use WORD 2007 in the “compatibility modeâ€, i.e., use these *.dot
templates rather than the *.dotM templates.

Thank you again for your kind help.
 
G

Graham Mayor

Answers in line ...
Dear Graham,

Thank you very much for your help.

I think that you found the crux of the problem!


I assume that this also applies to WORD 2000. Thus, when I see the
macros in documents created using all my other templates in WORD
2000, the program just mirrors the macros that are actually contained
only in normal.dot but are not contained in any of the other
templates.

It applies to all Word versions. Macros in the normal template (normal.dotM
in Word 2007 - Normal.dot in earlier versions) are available to all
documents/templates.
This is indeed very reasonable.

Now, as you have solved the mystery of the missing macros, could you
please instruct me how to insert my set of macros into the other
*.dot templates so that I can continue using these *.dot templates in
WORD 2007?

In order for the macros to be always available, they need to be in the
normal template i.e. in normal.dotm or in an add-in so use the organizer
(ALT+F8 > Organizer) to copy them from normal.dot to normal.dotm

*OR*

Depending upon how they are called from your document templates, if you move
the normal.dot template to the Word startup folder (Word Options > Advanced
File Locations > Startup will provide its location) the macros it contains
should be available to all your templates. I would suggest renaming
normal.dot, once you have placed it there, to (say) MyMacros.dot to avoid
confusion with the normal template. In either case you will probably have to
renew any personal shortcuts that call the macros, because of their new
location.

Alternatively you could use the Organizer to copy the relevant macros from
normal.dot to the document templates
It is very important for me to be able to use the "old" *.dot
templates as I intend to use WORD 2007 in the "compatibility mode",
i.e., use these *.dot templates rather than the *.dotM templates.

Thank you again for your kind help.

You are welcome :)

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
A

ATK31

Dear Graham,

Thank you very much for your comprehensive response.

Since I want to continue working with my legacy templates (*.dot), I will
try to apply your sagacious advice and use the Organizer to “import†the
macros from normal.dot to all other legacy templates (*.dot) rather than to
normal.dotm. Hopefully, the keyboard shortcuts will also be imported.

Checking the Organizer, it appears that all the macros in normal.dot are
located in a single module called NewMacros.

This “import†should make the macros INHERENTLY available in the legacy
templates (*.dot) rather than being available by reference to the normal.dot
template.

Do you think that the procedure outlined above will solve my problem?

Thank you for your help.
 
S

Suzanne S. Barnhill

Moving the macros will *not* move the keyboard shortcuts (and there is no
way to do so; they would have to be recreated). I would really recommend
that instead you put a copy of Normal.dot (renamed) in the Startup folder,
which will make the macros *and* the keyboard shortcuts available in all
Word documents.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 
G

Graham Mayor

Just copy the newmacros module to normal.dotm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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