open vb

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

Guest

I'd like a macro to run when a specific file is opened. The file is on our
server and will be accessed by different users on different machine - so
xlStart is out.
 
Yaasien Parker said:
I'd like a macro to run when a specific file is opened. The file is on our
server and will be accessed by different users on different machine - so
xlStart is out.

Put your macro in the Microsoft Excel Object named ThisWorkbook something like

Sub workbook_activate()
MsgBox "Hi Yaasien Parker"
End Sub
 

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