Hi,
I posted something similar previously but I wasn't able to solve the problem I had.
For example I have the following workbook up "run_Macro1.xlsm" and the following code in Module1 of the workbook.
I would like to run run_Macro_1 and run_Macro_2 ONTO another workbook, say "target_Wb.xlsm". so that Workbooks("target_WB").Worksheets("Sheet1").Range("A1").Value = "I just ran macro 1" and Workbooks("target_WB").Worksheets("Sheet1").Range("A").Value = "I just ran macro 2".
How do I do that?
Thank you!
I posted something similar previously but I wasn't able to solve the problem I had.
For example I have the following workbook up "run_Macro1.xlsm" and the following code in Module1 of the workbook.
Code:
Sub run_Macro_1()
Worksheets("Sheet1").Range("A1").Value = "I just ran macro 1"
End Sub
Sub run_Macro_2()
Worksheets("Sheet1").Range("A2").Value = "I just ran macro 2"
End Sub
I would like to run run_Macro_1 and run_Macro_2 ONTO another workbook, say "target_Wb.xlsm". so that Workbooks("target_WB").Worksheets("Sheet1").Range("A1").Value = "I just ran macro 1" and Workbooks("target_WB").Worksheets("Sheet1").Range("A").Value = "I just ran macro 2".
How do I do that?
Thank you!