Macro on opening

K

Kim

How do you create a macro that executes upon opening the document. I thought I could do this by naming the macro autoexec

Thanks
Kim
 
J

Jonathan West

Kim said:
How do you create a macro that executes upon opening the document. I
thought I could do this by naming the macro autoexec.

Wrong name. Use AutoOpen if you want the macro to run when an existing
document is opened, or Autonew when a new document is created.
 

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