Skolastix
Programmer
- Jul 31, 2001
- 22
I have found the "ActiveWindow.ScrollWorkbookTabs Position:=xlFirst" code, but it only scrolls and does not select the 1st visible worksheet.
What is the code to make the 1st visiblee worksheet active WITHOUT referencing the sheet(#), worksheet(#) or the sheet("worksheetname")? The reason is that the name and position of the worksheett can change. Likewise, the user might delete and use a new worksheet at anytime and I have to account for that. The only constant is that the worksheet will ALWAYS be visible.
Thanks for your help!!!
What is the code to make the 1st visiblee worksheet active WITHOUT referencing the sheet(#), worksheet(#) or the sheet("worksheetname")? The reason is that the name and position of the worksheett can change. Likewise, the user might delete and use a new worksheet at anytime and I have to account for that. The only constant is that the worksheet will ALWAYS be visible.
Thanks for your help!!!