Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How do I find the Index of the activesheet in a workbook?
For example...if the third worksheet in the worksheets collection is active, I want a function that will return 3. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
index of the activesheet<<
Just a wild guess, but have you tried ActiveSheet.Index? <g -- Vasant "Hawk" wrote in message ... How do I find the Index of the activesheet in a workbook? For example...if the third worksheet in the worksheets collection is active, I want a function that will return 3. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Note that ActiveSheet.Index returns an index into the sheets collection, not
the worksheets collection. If you have nothing but worksheets, then they will be the same, but if not, they won't -- Regards, Tom Ogilyv "Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message ... index of the activesheet<< Just a wild guess, but have you tried ActiveSheet.Index? <g -- Vasant "Hawk" wrote in message ... How do I find the Index of the activesheet in a workbook? For example...if the third worksheet in the worksheets collection is active, I want a function that will return 3. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks...
-----Original Message----- Note that ActiveSheet.Index returns an index into the sheets collection, not the worksheets collection. If you have nothing but worksheets, then they will be the same, but if not, they won't -- Regards, Tom Ogilyv "Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message ... index of the activesheet<< Just a wild guess, but have you tried ActiveSheet.Index? <g -- Vasant "Hawk" wrote in message ... How do I find the Index of the activesheet in a workbook? For example...if the third worksheet in the worksheets collection is active, I want a function that will return 3. . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
count data from one sheet to another | Excel Discussion (Misc queries) | |||
Count from another sheet | Excel Discussion (Misc queries) | |||
Should I use COUNT IF? from one sheet to another | Excel Worksheet Functions | |||
I want to count *'s that i have put in my sheet ? | Excel Worksheet Functions | |||
UDF is updateing cells on another sheet with count from current sheet. | Excel Discussion (Misc queries) |