Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, i am wanting to find the row number of a active cell. can anyon
give me some code to be able to do this? Many thanks Chris -- Message posted from http://www.ExcelForum.com |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Chris
Use Dim ActiveRow as Long ActiveRow = Activecell.Row msgbox ActiveRow This gives the numeric value of the Row that the cell is on HTH Davi -- Message posted from http://www.ExcelForum.com |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
ActiveCell.Row
Troy "chrisdarl " wrote in message ... Hi, i am wanting to find the row number of a active cell. can anyone give me some code to be able to do this? Many thanks Chris. --- Message posted from http://www.ExcelForum.com/ |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Chris,
Activecell.Row Cheers, Pete -----Original Message----- Hi, i am wanting to find the row number of a active cell. can anyone give me some code to be able to do this? Many thanks Chris. --- Message posted from http://www.ExcelForum.com/ . |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
micro = ActiveCell.Row
where micro is a variable -----Original Message----- Hi, i am wanting to find the row number of a active cell. can anyone give me some code to be able to do this? Many thanks Chris. --- Message posted from http://www.ExcelForum.com/ . |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
What about this;
Sub RowNnumber() Dim RowNumber As Long RowNumber = ActiveCell.row MsgBox ("Row number of the active cell is " & ActiveCell.row) End Sub Henk chrisdarl wrote in message ... Hi, i am wanting to find the row number of a active cell. can anyone give me some code to be able to do this? Many thanks Chris. --- Message posted from http://www.ExcelForum.com/ |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hey, try this:
= ActiveCell.Row -----Original Message----- Hi, i am wanting to find the row number of a active cell. can anyone give me some code to be able to do this? Many thanks Chris. --- Message posted from http://www.ExcelForum.com/ . |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks everyone for all your help its working fine now.
Chri -- Message posted from http://www.ExcelForum.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Current year and current week number | Excel Discussion (Misc queries) | |||
Add to current cell value | Excel Discussion (Misc queries) | |||
Current Run Rate | Excel Worksheet Functions | |||
Having the current time inserted w/o updating the current time | Excel Worksheet Functions | |||
Can I automatically enter the current date or current time into a | New Users to Excel |