Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks that worked great
"chris" wrote in message ... Trry this: Set c = MyRange.Find(Val) If Not c Is Nothing Then firstAddress = c.Address Do Set c = MyRange.FindNext(c) Rw=range(c.address).row Loop While Not c Is Nothing And c.Address < firstAddress End If ----- Jamie wrote: ----- On a sheet called orderdata i have values indexed by there order id this is in a form of 10001 or 10002 etc. I need a way of going through each row with the same order id as im displaying them on a invoice. An example of the data on the sheet is ID , Description, quantity 10001, An example, 2 10001, An example2, 3 10002,... etc For each row i need to find out the row that the data is on so i can gain the decription and quantity from the script. Thanks for any help Jamie |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Loop or Find code ?? need help !! | Excel Worksheet Functions | |||
Find loop doesn't loop | Excel Discussion (Misc queries) | |||
Find & loop in VBA | Excel Discussion (Misc queries) | |||
Find value loop not working | Excel Programming | |||
How do you test to break out of a find loop? | Excel Programming |