set a macro to run in word automatically upon opening doc?

G

Guest

I have create a macro in word that I want to automatically run whenever the
document is opened. How do I do that?
 
H

Helmut Weber

Hi Rob,

put the macro in "ThisDocument"
of the project with the name of your doc,
and rename it to "autoopen".

If you need detailed info, ask in:
microsoft.word.vba.general

--
Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
 

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