How can a macro automatically initiate uponing a file?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'd like to set a macro so that when the file is opened, it automatically runs.
 
Put the code in the Workbook_Open event in the Thisworkbook code module.

--

HTH

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


kanye said:
I'd like to set a macro so that when the file is opened, it automatically
runs.
 
I've located the Thisworkbook code module, but see nothing about
Workbook-Open event. Where do I look for this?
 
see my response to the question you posted 1 min before the one Bob answered
.... titled "Automatic Message"
 
Input this into the Thisworkbook code mould

Private Sub Workbook_Open()

End Sub

and add your code to it.

--

HTH

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


kanye said:
I've located the Thisworkbook code module, but see nothing about
Workbook-Open event. Where do I look for this?
automatically runs.
 

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

Back
Top