Jagwarman
asked on
vba to open a sheet if I don't know name of sheet
I would normally open a sheet in Excel using Sheets("Name of sheet").Select
But is it possible to open a sheet if I don't know the name of the sheet ][because the user changes the name ] but I know it is always on Sheet5
Thanks
But is it possible to open a sheet if I don't know the name of the sheet ][because the user changes the name ] but I know it is always on Sheet5
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks Norie, so simple when you know how.
You can refer to the sheet by it's Index number i.e it's position in the sheet but that's not reliable.
See this
http://excel-it.com/excel_sheet_names.html