Ste_Moore01
Active Member
- Joined
- Jul 13, 2005
- Messages
- 467
Hi,
I'm having a little trouble with a macro I'm writing.
I have a currently got a macro in my PERSONAL.XLS workbook that adds a macro to the Worksheet_SelectionChange of Sheet1 on the Workbook I have open.
The problem is, the macro that is created needs a reference to Microsoft Forms 2.0 object library.
To get around this I decided to amend my macro so that it calls another macro in my PERSONAL.XLS instead because this Workbook already has a reference to Microsoft Forms 2.0 object library.
Unfortunately, I can't figure out how to call macros on different workbooks.
Can anyone tell me how to do this, or alternatively, could someone tell me how to set a reference in a Macro?
It may sound a little confusing so if you need me to explain better let me know.
Thanks!
I'm having a little trouble with a macro I'm writing.
I have a currently got a macro in my PERSONAL.XLS workbook that adds a macro to the Worksheet_SelectionChange of Sheet1 on the Workbook I have open.
The problem is, the macro that is created needs a reference to Microsoft Forms 2.0 object library.
To get around this I decided to amend my macro so that it calls another macro in my PERSONAL.XLS instead because this Workbook already has a reference to Microsoft Forms 2.0 object library.
Unfortunately, I can't figure out how to call macros on different workbooks.
Can anyone tell me how to do this, or alternatively, could someone tell me how to set a reference in a Macro?
It may sound a little confusing so if you need me to explain better let me know.
Thanks!