B
bluegrassstateworker
Hello,
I have the following line of code that was created by the macro
recorder:
Application.Run "CHFSform98g2.xls!S6Exp"
This runs a macro in the current spreadsheet called S6Exp. My dilema
is that the name of the spreadsheet (CHFSform98g2) changes, creating an
error in the macro. Is there a good syntax that will run S6Exp
regardless of the filename?
Thanks
I have the following line of code that was created by the macro
recorder:
Application.Run "CHFSform98g2.xls!S6Exp"
This runs a macro in the current spreadsheet called S6Exp. My dilema
is that the name of the spreadsheet (CHFSform98g2) changes, creating an
error in the macro. Is there a good syntax that will run S6Exp
regardless of the filename?
Thanks