Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
What code could I use to select cell A1 in the last sheet? I have
variable quantities of sheets and the sheet names can be changed. So I guess its something like Worksheets(xxx).Select, but how do I know the last number? Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ok, just spotted an archived post, that does the trick
Dim i As Integer i = Sheets.Count Sheets(i).Select Very clever |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Activate vs Select a sheet | Excel Programming | |||
.Activate vs. .Select in VBA | Excel Discussion (Misc queries) | |||
select vs. activate | Excel Programming | |||
Select a sheet and activate a Window | Excel Programming | |||
select vs activate | Excel Programming |