S
surveyorinva
I created a macro that will open several windows of the workbook I have created and each window will show a different tab on a different place on the screen. When I look at the code it references the code:
Windows("Cutsheettemplate3.0.xls:3").Activate
when I switch to one of the three windows and manipulate it. This works great if and only if the name of my workbook is Cutsheettemplate3.0.xls which will not always be the case. How can I revise the code to make it dynamic with what ever I name the file.
Thanks for all your help!
Windows("Cutsheettemplate3.0.xls:3").Activate
when I switch to one of the three windows and manipulate it. This works great if and only if the name of my workbook is Cutsheettemplate3.0.xls which will not always be the case. How can I revise the code to make it dynamic with what ever I name the file.
Thanks for all your help!