Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
know row index via Cell
Hi,
i have the following code : For Each cell In ThisWorkbook.Worksheets("Programs").Range("C2:C" & (MaxRecords + 1)) .... // detect row_number .... Next cell how can i get the row index (or number of the row) via "cell" ? thx, Al. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
know row index via Cell
myrow=cell.row
or msgbox cell.row -- Don Guillett SalesAid Software "--== Alain ==--" wrote in message ... Hi, i have the following code : For Each cell In ThisWorkbook.Worksheets("Programs").Range("C2:C" & (MaxRecords + 1)) ... // detect row_number ... Next cell how can i get the row index (or number of the row) via "cell" ? thx, Al. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Index of Max Cell | Excel Discussion (Misc queries) | |||
Row and Col Index of a cell with Max Value | Excel Worksheet Functions | |||
help with index to return particular cell value | Excel Discussion (Misc queries) | |||
index,match + 1 cell below? | Excel Worksheet Functions | |||
autofill according to cell index | Excel Worksheet Functions |