Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Move to next worksheet

Status
Not open for further replies.

techu4

Technical User
Jun 27, 2005
32
GB
Hi All,

I have been seatching for ages and cannot seem to find a way of moving to the next worksheet in excel without knowing it's name.

Does anyone know who i can do this. I can open the workbook and count the number of sheets but can't seem to be able to move to the next sheet without it's name.

Please help as I am pulling my hair out.

Regards

techu4
 
As far as I can remember you (depending how you are using Excel) can use the index of the sheet instead of the name.

Hope this helps

HarleyQuinn
---------------------------------
Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
Hi HarleyQuinn,

thanks for that I will give it a try.

Regards
 
You can also use worksheet's Next property, returns the next available worksheet or nothing.

combo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top