message/dialog box auto open when excel file is activated

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

Guest

Please can anyone tell me the procedure how I can get a dialog/message box
to appear after I activate an excel file? Just like a splash screen in a
stand alone program.
Many thanks
 
You can either use an Auto_Open() macro in a standard module or (preferred)
a workbook_open() event like so

Private Sub Workbook_Open()
MsgBox "My Program"
End Sub

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
(e-mail address removed)
 
many thanks.
Welshwizzard




..
Nick Hodge said:
You can either use an Auto_Open() macro in a standard module or (preferred)
a workbook_open() event like so

Private Sub Workbook_Open()
MsgBox "My Program"
End Sub

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
(e-mail address removed)
 

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