Hi all,
I have a script which opens a user-defined workbook, and later on I need to be able to activate that workbook. I have the filepath for the workbook defined, and I've been able to pull the filename from the path and store it as a variable. However, I get a Runtime Error '9': Subscript out of range notification whenever I try to activate the workbook using the variable I have set. Yet, when I copy and paste the variable contents into my Activate command, the script works.
![]()
Please Login or Register to view this content.
Bookmarks