Running of a Macro when Workbook is opened

B

Bob Phillips

Sure is. One of two ways

Add an event procedure called Workbook_Open to the This workbook code module

Private Sub Workbook_Open()
... do your stuff
End Sub

or simply add a procedure called Auto_Open in a general code module

Sub Auto_Open()
... do your stuff
End Sub


--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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