ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Execute a Macro from one excel Application to another Application (https://www.excelbanter.com/excel-programming/405281-execute-macro-one-excel-application-another-application.html)

Jason Zischke

Execute a Macro from one excel Application to another Application
 
Hi All

I have two excel applications open and was wondering if you execute a macro
from one application by the other application?

Jason

Nigel[_2_]

Execute a Macro from one excel Application to another Application
 
From one workbook run the other by using.....

Application.Run ("yourfilename.xls!yourmacroname")


--

Regards,
Nigel




"Jason Zischke" wrote in message
...
Hi All

I have two excel applications open and was wondering if you execute a
macro
from one application by the other application?

Jason



Jason Zischke

Execute a Macro from one excel Application to another Applicat
 
Hi Nigel

Thanks for your answer but its not exactly what Im chasing besause this
requires the two workbooks to be open in the same excel window.

Jason

"Nigel" wrote:

From one workbook run the other by using.....

Application.Run ("yourfilename.xls!yourmacroname")


--

Regards,
Nigel




"Jason Zischke" wrote in message
...
Hi All

I have two excel applications open and was wondering if you execute a
macro
from one application by the other application?

Jason




All times are GMT +1. The time now is 12:29 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com