Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have Workbooks A and B. Workbook A contains a macro, and Workbook B contains the data. Usually, I have a command button (in one of the worksheets) in Workbook B and have it call the macro in Workbook A to execute the macro. Is there a way I have a command button created in Workbook A, and when the button is clicked, the macro will execute for Workbook B (assuming that both workbooks are open in the same Excel window)? If possible, can someone help me with the code? The code will be part of macro in Workbook A. Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro Source is Changing | Excel Discussion (Misc queries) | |||
Update Chart Source (w/macro?) | Excel Worksheet Functions | |||
Run a macro when a cell is changed by an outside source | Excel Programming | |||
Macro runs in source , but not when in Personal Macro Workbook | Excel Programming | |||
Changing macro source | Excel Programming |