Thread: find text
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Dave B[_9_] Dave B[_9_] is offline
external usenet poster
 
Posts: 22
Default find text

Can someone suggest a simple way to find each "target text" in a
worksheet then create an array with the row # of each found "target
text"? Something like:

i = 0
Cells(1, 1).Select
Cells.Find("target text"...)
Do Until ?????
Cell.FindNext(...).Activate
intMatchedRows(i) = ActiveCell.Row
i = i + 1
Loop

Thanks.