Reference Sub from another workbook

  • Thread starter Thread starter MikeH2
  • Start date Start date
No it mus be public and in a standrad code modele

Use

Application.Run "book2.xls!test_msgbox"

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Bob, interestingly Private subs are callable by Run.
Run seems not to play by the rules, so to speak.
 
Hi Tim,

So it does. That will teach me to assume.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

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