Execute code from book1 of code from book2

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

Guest

Is there a way of executing code that is in book2 from book1 via VB Code?
 
You can use Application.Run.

Application.Run "Book2.xls!ProcedureName"


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting LLC
www.cpearson.com
(email on the web site)
 

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