Macros in other Excel Files

  • Thread starter Thread starter Kevin
  • Start date Start date
K

Kevin

Is it possible to execute a specific macro in another
Excel file based on specific criteria. I am opening
another Excel file from my parent file and have need to
make certain things happen based on two conditions. I know
how to manage the conditions, but how do I initiate the
macro. This would be an easier problem if the file were
already open and waiting, but this will need to happen
just as or just after the file opens.

Thanks!

Kevin
 
hi,
you can run any macro from any file so long as the file is
open.
use the call method
use the application.run method.
 

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