Macro Storage

W

Will Simmons

Running Word 98 under OS 9.2.2 on a Power Mac beige G3 with 352 MB Built-in
memory.

Tools-Macros has a list of macros that differs from Tools-Organizer-Macro
Project Items. Both of them differ from the list in
Tools-Customize-Commands-Macros.

Moreover, some of the macros listed in Tools-Macros have the "edit" box
greyed out, so I cannot even look at the code. I can look at the code in
the VBA Editor-View Project, but the VBA Editor's list of "Normal" Project
items (presumably the Normal template ?) does mot contain all of the macros
from the above lists. In fact, it sometimes contains a "Project" named
"New Macros," which has two or three macros inside it Ñ but some times it
does not. Spooky, I'd say.

I've tried to use Tools-Moganizer-Macro Project Items to open every Word
template I can find in hopes of being able to carry out the advice I've
read here to collect all macros in one place. But many of the macros on one
or more of the above lists appear in *no* templates.

What gives ? What's the secret ? How do I find out where these various
macros are stored so I can transfer them to my Normal template and at least
read the code to be sure what they do ?

TIA for any thoughts or advice.

-- Will --
 
J

J.E. McGimpsey

Running Word 98 under OS 9.2.2 on a Power Mac beige G3 with 352 MB Built-in
memory.

Tools-Macros has a list of macros that differs from Tools-Organizer-Macro
Project Items. Both of them differ from the list in
Tools-Customize-Commands-Macros.

Moreover, some of the macros listed in Tools-Macros have the "edit" box
greyed out, so I cannot even look at the code. I can look at the code in
the VBA Editor-View Project, but the VBA Editor's list of "Normal" Project
items (presumably the Normal template ?) does mot contain all of the macros
from the above lists. In fact, it sometimes contains a "Project" named
"New Macros," which has two or three macros inside it Ñ but some times it
does not. Spooky, I'd say.

I've tried to use Tools-Moganizer-Macro Project Items to open every Word
template I can find in hopes of being able to carry out the advice I've
read here to collect all macros in one place. But many of the macros on one
or more of the above lists appear in *no* templates.

What gives ? What's the secret ? How do I find out where these various
macros are stored so I can transfer them to my Normal template and at least
read the code to be sure what they do ?

Word macros can be stored in three places:

1) Global templates: also referred to as Add-ins. These are
templates in the Microsoft Office 98:Office:Startup:Word folder and
are opened each time Word is started (unless the shift key is held
down). Or you can add them for the session with Tools/Templates and
Add-ins... In the VBE, these will show up as projects and their
macros will be available, but they cannot be viewed or edited unless
the template is opened using File/Open, double clicking, etc. Normal
is by design a global template.

2) Document Templates: These are templates that by default reside in
the Microsoft Office 98:Templates folder. Macros in these templates
are available when either the template is opened directly or to
documents based on that template. Normal is always open.

3) Documents: Macros in documents are only available when that
document is open.


You may also want to take a look at this item in Word Help:

I can't copy styles, macros, toolbars, or AutoText entries between
documents or templates.
 
W

Will Simmons

J.E. McGimpsey said:
Word macros can be stored in three places:

1) Global templates: also referred to as Add-ins. These are
templates in the Microsoft Office 98:Office:Startup:Word folder and
are opened each time Word is started (unless the shift key is held
down). Or you can add them for the session with Tools/Templates and
Add-ins... In the VBE, these will show up as projects and their
macros will be available, but they cannot be viewed or edited unless
the template is opened using File/Open, double clicking, etc. Normal
is by design a global template.

2) Document Templates: These are templates that by default reside in
the Microsoft Office 98:Templates folder. Macros in these templates
are available when either the template is opened directly or to
documents based on that template. Normal is always open.

3) Documents: Macros in documents are only available when that
document is open.


You may also want to take a look at this item in Word Help:

I can't copy styles, macros, toolbars, or AutoText entries between
documents or templates.

As usual, thanks a lot for a quick and clear response. However, in trying
to use Tools-Organizer to get my old macros from documents and saved
templates, I am now getting the following alerts, depending on which action
I attempt to open other templates or record new macros to replace the ones
I cannot open.

"Could not create macro;" or "could not open macro storage;" or "project
is unreviewable."

In short, I need even more assistance and advice. TIA.

-- Will --



What gives ?
 

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