Macros created but can't access

F

fitzer

Hi,

I'm having a problem accessing some custom Word 2003 macros
I wrote. I copied and pasted the Public macros from a text file
into module=NewMacros in Normal.dot. The Visual Basic Editor
shows:

Project Explorer
Normal
Modules
NewMacros ...........>> Public Sub X()
Public Sub Y()
etc.

In Word 2003, the Macros dialog box (Alt F8) doesn't list these
macros (X, Y, etc.). ???

The Word Options | File dialog box shows the following;

User templates C:\Documents and Settings\Owner
\Application Data\Microsoft\Templates

Startup C:\Documents and Settings\Owner
\Application Data\Microsoft\Word\STARTUP

although no files are in the STARTUP folder.

I want to map these macros (X, Y, etc.) to toolbar buttons.
How do I get them to show up on the Alt-F8 macros dialog?

Thanks
 
F

fitzer

Fitzer again:

I continued trying to solve the problem and did. It turned out that my
macros had parameters. Word doesn't list, in the dialog box, macros with
parameters. There are (as far as I know) three conditions when Word won't
list a macro in the dialog box:

1. Macro has parameters,
2. Macro is a Function,
3. Macro is Private.

Hope this helps someone else.
 

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