T
thewizz
Yet another question!!!
I am trying to use the Worksheet_change Event to call a macro that I have
placed in the "ThisWorkbook" folder using Application.run. The problem I am
having is that I do not want to use the specific name of the workbook in the
statement because it can change since I am making a "Template". Any
suggestions how I can call the Active workbook instead?!?! I have tried
several itterations and nothing seems to work. I keep getting application
failure. I assume it cannot find the macro....
Example:
Worksheet name - myworksheet
macro name - runme
Application.run "'myworksheet.xls'!ThisWorkbook.runme"
but replace "myworksheet.xls" with a generic statement
Thank you!
I am trying to use the Worksheet_change Event to call a macro that I have
placed in the "ThisWorkbook" folder using Application.run. The problem I am
having is that I do not want to use the specific name of the workbook in the
statement because it can change since I am making a "Template". Any
suggestions how I can call the Active workbook instead?!?! I have tried
several itterations and nothing seems to work. I keep getting application
failure. I assume it cannot find the macro....
Example:
Worksheet name - myworksheet
macro name - runme
Application.run "'myworksheet.xls'!ThisWorkbook.runme"
but replace "myworksheet.xls" with a generic statement
Thank you!