alexaronson
Active Member
- Joined
- Sep 30, 2005
- Messages
- 314
Hello and thank you for your help
I have the following code that calls a macro for me.
One of the problems I am runnign into is that my users are changing the file name. So I thought about changing the file name to a variable with the following code
I am trying to replace the Test.xlsm piece of the original code with WbName. However I can't seem to get the macro to fire off.
Any suggestions?
Thanks
I have the following code that calls a macro for me.
Code:
Application.Run "Test.xlsm'!NamShortList"
One of the problems I am runnign into is that my users are changing the file name. So I thought about changing the file name to a variable with the following code
Code:
Dim WbName As Variant
WbName = ActiveWorkbook.Name
Any suggestions?
Thanks