R
rjtaylor
I save my workbooks on close and this resaves all of the code again and
again which slowes down the process.
So I wanted to run the code from another workbook or ADDIN
I dont understand ADDIN's
I have tried opening the other workbook then call the code normally or
with Workbookname!module2.procedure
this did not work
However if you record a macro with the macro recorder and save it to
another workbook you can run it on the first workbook.
I then recorded that to see how it was being done and I got
Application.Run "Book2!Macro1"
this did not work for me with my code though.
What am I doing wrong.
Thanks for any help
Rod Taylor
again which slowes down the process.
So I wanted to run the code from another workbook or ADDIN
I dont understand ADDIN's
I have tried opening the other workbook then call the code normally or
with Workbookname!module2.procedure
this did not work
However if you record a macro with the macro recorder and save it to
another workbook you can run it on the first workbook.
I then recorded that to see how it was being done and I got
Application.Run "Book2!Macro1"
this did not work for me with my code though.
What am I doing wrong.
Thanks for any help
Rod Taylor