run vba code dynamically of another add-in workbook

  • Thread starter Thread starter ilyaskazi
  • Start date Start date
Another workbook

Application.Run "book2.xls!test_msgbox"

with spaces in name

Application.Run "'another book2.xls'!test_msgbox"

.... with parameters

Application.Run "book2.xls!test_msgbox", 4, 8


An add-in is just a workbook, so replace xxls with xla

--

HTH

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

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