Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
find row index
Hello,
Quick question, I was just wondering how you find the row index of cell that i found using find and then storing that into a variable. need to reference information in that row. Thank -- Message posted from http://www.ExcelForum.com |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
find row index
"crew3407 " schrieb im Newsbeitrag ... Hello, Quick question, I was just wondering how you find the row index of a cell that i found using find and then storing that into a variable. I need to reference information in that row. Thanks --- Message posted from http://www.ExcelForum.com/ the find method results in a range object. set myresult = .find(.....) You can assign myresult.row then to your variable. cheers, Stephan |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
find row index
Crew,
Try something like Dim myRow As Long Dim myCell As Range Set myCell = Cells.Find(.......) If Not MyCell Is Nothing Then myRow = myCell.Row End If Then myRow can be used like Cells(myRow,3).Value = "This is entered into column C" HTH, Bernie MS Excel MVP "crew3407 " wrote in message ... Hello, Quick question, I was just wondering how you find the row index of a cell that i found using find and then storing that into a variable. I need to reference information in that row. Thanks --- Message posted from http://www.ExcelForum.com/ |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
find row index
Activecell.Row or Range(myvar).Row -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "crew3407 " wrote in message ... Hello, Quick question, I was just wondering how you find the row index of a cell that i found using find and then storing that into a variable. I need to reference information in that row. Thanks --- Message posted from http://www.ExcelForum.com/ |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
find row index
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
find, Index? | Excel Worksheet Functions | |||
Find 2nd, 3rd, etc Result with index/match | Excel Worksheet Functions | |||
Use find with Index and Match | Excel Worksheet Functions | |||
Using INDEX to find the match | Excel Discussion (Misc queries) | |||
INDEX, FIND.... MATCH???? | Excel Discussion (Misc queries) |