View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
teatree[_3_] teatree[_3_] is offline
external usenet poster
 
Posts: 1
Default Repost: How do you identify a worksheet as last?

have you tried using worksheets.count to return the number of sheets
and then call the last sheet by index number...?

Sub SelectLast()
Dim n As Integer
n = ActiveWorkbook.Sheets.Count
Sheets(n).Activate
End Su

--
Message posted from http://www.ExcelForum.com