Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Activesheet question
Hi
How do you see what options follow ActiveSheet. ? The only one I can find Help on is Name. I'm hoping there might be for for the current row. (and if there's no current row that can detected). Thanks - Kirk |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Activesheet question
Hi,
Open VB editor using ALT+F11 and then View|Object browser In the 'Classes' window scroll down to and double click 'Worksheet' to get the members. Mike "kirkm" wrote: Hi How do you see what options follow ActiveSheet. ? The only one I can find Help on is Name. I'm hoping there might be for for the current row. (and if there's no current row that can detected). Thanks - Kirk |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Activesheet question
Alt+F11 from worksheet to launch VBE.
F2 to launch Object Browser -- If this post helps click Yes --------------- Jacob Skaria "kirkm" wrote: Hi How do you see what options follow ActiveSheet. ? The only one I can find Help on is Name. I'm hoping there might be for for the current row. (and if there's no current row that can detected). Thanks - Kirk |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Activesheet question
Thanks Guys,
I got into there OK but can't see anything for detecting the active row, does it exist in that enviroment, or is it detected some other way? Thanks - Kirk |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Activesheet question
MsgBox ActiveCell.Row
Regards, Peter T <kirkm wrote in message ... Thanks Guys, I got into there OK but can't see anything for detecting the active row, does it exist in that enviroment, or is it detected some other way? Thanks - Kirk |
#6
Posted to microsoft.public.excel.programming
|
|||
|
|||
Activesheet question
Hi
MyRow = ActiveCell.Row Mike "kirkm" wrote: Thanks Guys, I got into there OK but can't see anything for detecting the active row, does it exist in that enviroment, or is it detected some other way? Thanks - Kirk |
#7
Posted to microsoft.public.excel.programming
|
|||
|
|||
Activesheet question
Just like the ActiveSheet is an object containing all the properties of the
currently active sheet, there is an ActiveCell object that contains all the properties of the currently selected cell. Note I said cell... there is also a Selection object that contains all of the properties of the current selection, whether that be a single cell or a group of cells (in a selection of multiple cells, there is still a single active cell... the ActiveCell object references it). So, to get the row that the active cell is on, just ask the ActiveCell object for it... MsgBox ActiveCell.Row -- Rick (MVP - Excel) "kirkm" wrote in message ... Thanks Guys, I got into there OK but can't see anything for detecting the active row, does it exist in that enviroment, or is it detected some other way? Thanks - Kirk |
#8
Posted to microsoft.public.excel.programming
|
|||
|
|||
Activesheet question
On Thu, 7 May 2009 11:33:42 -0400, "Rick Rothstein"
wrote: Just like the ActiveSheet is an object containing all the properties of the currently active sheet, there is an ActiveCell object that contains all the properties of the currently selected cell. Note I said cell... there is also a Selection object that contains all of the properties of the current selection, whether that be a single cell or a group of cells (in a selection of multiple cells, there is still a single active cell... the ActiveCell object references it). So, to get the row that the active cell is on, just ask the ActiveCell object for it... MsgBox ActiveCell.Row Many thanks Rick (and others). The help is much appreciated and my project is coming together nicely. Cheers - Kirk |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Use a password in VBA ActiveSheet.protect & ActiveSheet.unprotect? | Excel Programming | |||
Copying new activesheet after other activesheet is hidden? | Excel Programming | |||
WorkSheet / ActiveSheet Question | Excel Programming | |||
Very simple ActiveSheet.name question | Excel Programming | |||
name of the activesheet | Excel Programming |