Hi all,
In order to assign a macro to an object, I need to specify an Integer variable as part of the file path. How do I do this? I've tried different combinations of quote types/positioning with no luck.
When clicked, I need to run macro "DatabaseScan" from workbook C:\Users\Ryan\Storage\Database(Integer variable).xlsm
How would I go about inputting this?
Selection.OnAction = ????
Thank you for your help.
In order to assign a macro to an object, I need to specify an Integer variable as part of the file path. How do I do this? I've tried different combinations of quote types/positioning with no luck.
When clicked, I need to run macro "DatabaseScan" from workbook C:\Users\Ryan\Storage\Database(Integer variable).xlsm
How would I go about inputting this?
Selection.OnAction = ????
Thank you for your help.