Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to select the last sheet in a workbook. I know that going to the
next sheet is this: ActiveSheet.Next.Select But what is the command to select the very last sheet? End and Last don't work. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub lastone()
Sheets(Worksheets.Count).Activate End Sub -- Gary''s Student - gsnu200751 "carl" wrote: I'm trying to select the last sheet in a workbook. I know that going to the next sheet is this: ActiveSheet.Next.Select But what is the command to select the very last sheet? End and Last don't work. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sheets(Sheets.Count).Select
"carl" wrote: I'm trying to select the last sheet in a workbook. I know that going to the next sheet is this: ActiveSheet.Next.Select But what is the command to select the very last sheet? End and Last don't work. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
One way:
With ActiveWorkbook.Worksheets .Item(.Count).Select End With In article , carl wrote: I'm trying to select the last sheet in a workbook. I know that going to the next sheet is this: ActiveSheet.Next.Select But what is the command to select the very last sheet? End and Last don't work. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
selecting a single sheet from a volume of sheets in a workbook | Excel Worksheet Functions | |||
selecting sheet name in another workbook by variable (same sheet name) | Excel Programming | |||
Print a sheet without ever selecting the sheet | Excel Programming | |||
selecting multiple sheet tabs and open another workbook | Excel Discussion (Misc queries) | |||
Selecting data from 1 workbook to copy and paste to a 2nd workbook | Excel Programming |