I feel the answer to this problem should be straight forward, but I can n't seem to solve it.
I have an Excel Template that is a blank workbook with a button that runs some VB code from a macro. Within the code I save the workbook to a specified directory for use with another application. This other application picks up the workbook and moves it to it's own internal structure.
When I try to use the template again and run the macro, I get a message saying the Macro can not be found. When I select the properties of the button and look at the assign macro option I see that the macro name is <previous filename and path>!<macro name>. This file has now been moved by the other application although the orginal macro name is available for selection.
This is driving me mad as I do n't want to have to select the assign macro option for the button every time I want to run the macro.
TIA
Colin
I have an Excel Template that is a blank workbook with a button that runs some VB code from a macro. Within the code I save the workbook to a specified directory for use with another application. This other application picks up the workbook and moves it to it's own internal structure.
When I try to use the template again and run the macro, I get a message saying the Macro can not be found. When I select the properties of the button and look at the assign macro option I see that the macro name is <previous filename and path>!<macro name>. This file has now been moved by the other application although the orginal macro name is available for selection.
This is driving me mad as I do n't want to have to select the assign macro option for the button every time I want to run the macro.
TIA
Colin