search rows

  • Thread starter Thread starter jt46
  • Start date Start date
J

jt46

Is anyone know how to search rows from a texbox data given and it wil
return a row result? Thanks for your help.

Joh
 
Dim rng as Range, rng1 as Range
set rng = Cells.find(Userform1.Textbox1)
if not rng is nothing then
set rng1 = rng.entirerow
End if
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top