Running a macro when Word doc opens

A

Anthony

Hi

Is it possible to run a macro automatically when the document opens (eg like
in Access where a macro called AutoExec would run automatically when the
application is opened)

Thanks
Anthony
 
M

Malcolm Smith

Yes, if you look in This_Dcument in the IDE, you will see an event called
Document_Open which is what you require.

- Malc
 
H

Helmut Weber

Hi,
autoopen,
but not with "the" document, with "a" document.
See also,
AutoExec
AutoNew
AutoClose
AutoExit.
Search help for "automacro", "auto-macros".
 

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