Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macros in other Excel Files
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 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macros in other Excel Files
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. -----Original Message----- 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 . |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macros in other Excel Files
Thanks! I appreciate the help!
Kevin -----Original Message----- 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 . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to save & send Excel files without macros. | Excel Discussion (Misc queries) | |||
Excel files - macros & links | Excel Discussion (Misc queries) | |||
Making macros available to other excel files | Excel Discussion (Misc queries) | |||
Can't Open Excel Files with Macros | Excel Discussion (Misc queries) | |||
Saving CSV files in Excel macros | Excel Programming |