Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
Cell.Row will give you the absolute row number Range.Row will give you the row number of the first cell in range eg Range("G12:G511").row is 12 Range("G12:G511").Cells(3,1).Row will give you the absolute row number of Cells(3,1) in Range eg Range("G12:G511").Cells(3,1).Row is 14 If you want the row number relative to the first row in the Range use, for example, Range("G12:G511").Cells(3,1).Row -Range("G12:G511").Row + 1 which is 14 - 12 + 1 = 3 Highlight Row in the VBE and hit F1 to see the type etc of Row regards Paul |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Error Deleting Columns | Excel Discussion (Misc queries) | |||
Deleting Worksheet Error | Excel Programming | |||
Error when deleting sheets | Excel Programming | |||
error runtime 9: deleting a worksheet | Excel Programming | |||
Deleting Hyphens or Dashes from multiple cells without deleting the remaining content | Excel Programming |