Auto macro

H

Hamilton white

Does anyone know the name that should be assigned to a macro so that it runs
automatically when the document is opened? AutoOpen doesn't work for me.
 
E

Ed Bennett

Hamilton said:
Does anyone know the name that should be assigned to a macro so that it runs
automatically when the document is opened? AutoOpen doesn't work for me.

Private Sub Document_Open()

(Click Document in the left-hand drop-down at the top of the code pane;
Document_Open should create itself automagically.)
 

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