Word V7.0 and Word XP macros

D

Daryl G

A newbie question.

I use both Word v7.0 and Word XP. Both were working until I had a problem
with Word XP and reinstalled it. Now when I open a new document using
normal.dot (4.3 Meg in size) I cannot see any of the macros that were there
before the re-install.
Word V7.0 can still see and use the macros.
Both versions of word were pointing to the same folders originally for the
templates. I have tried duplicating the template folders to seperate both
versions but Word XP still fails.
Using Tools - Templates - Organiser I try to open Normal.dot and it starts
to read the information then stops with the following error.
"The document name or path is not valid"
Can someone help with this problem

TIA
 
H

Howard Kaikow

When you open Word 2002, are the macros listed in Tools | Macro | Macros?

If not, then you do not have the old Word 7 Normal template in the directory
expected by Word 2002.

Word 7 and Word 2002 should NOT point to the same template directories as
that will quickly cause problems.

You need to copy all the Word 7 templates, of interest, into a directory
used for Word 2002 templates.
Open each in Word 2002, then save the template in Word 2002 format.
Note that you should not do this for any Word 7 template that contains even
just 1 execute-only macro as that will cause all the macros in the converted
template to be execute-only,
 
D

Daryl G

The macros are NOT showing under Tools - Macro - Macros

I have checked the File Locations under Tools - Options and they point to
c:\program files\Microsoft Office\Templates which is where the large
Normal.dot file is located.

Where should the Normal.dot file be located ?

Are there any registry entries that point WordXP to a special path for
Templates?

How would I know if I had an execute-only macro in the group. All macros
were written by a person before me.

Thanks for your help so far.
 
H

Howard Kaikow

If the template file is in the correct location, then I would assume that
there was at least one execute -only macro in the original WordBasic
template.

When Word 97 and beyond open such a template, since there is at least 1
execute-only macro, ALL macros are treated as execute-only.
MSFT decided to do things this way for Word 97 and, as far as I know, it
still works that way.

Only recourse is, if you still have the original WordBasic template, is to
open the template on a PRE-Word 97 system with , say, Word 7 or Word 6 and
remove the execute only macros, and put the execute only macros in a
separate template. Then you will be able to import the macros into Word 97
and beyond, but the execute only macros in the separate template will still
be execute only.

The easiest way to learn whether a macro is execute only is to examine the
template in a pre-Word 97 version.

Note that not all templates will be imported successfully from WordBasic to
VBA.
Yesterday, I was fooling around with my old 486 system that still has only
Word 6/7.
I copied a template file that I had not used for over 7 years.
Word 2003 could not convert the macros in the template.
 

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