Run a macro automatically when opening a document - how?

B

Barry

I'm a novice with macros and want to be able to run a macro automatically
when opening a document to execute a bunch of ASK and REF fields to capture
setup info e.g. customer name, address etc, store them in bookmarks and then
paste the data into various parts of the doc.

Is a macro the best way to do this or is there a better way?
 
S

stephenc

Write a macro in your document, and call it "AutoOpen". This is a reserved
name. Whenever the doc is opened, Word will run this macro if it is present.

Hope this helps,
S
 

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