ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   search rows (https://www.excelbanter.com/excel-programming/313746-search-rows.html)

jt46[_6_]

search rows
 

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

Joh

--
jt4
-----------------------------------------------------------------------
jt46's Profile: http://www.excelforum.com/member.php...fo&userid=1515
View this thread: http://www.excelforum.com/showthread.php?threadid=26982


Tom Ogilvy

search rows
 
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

--
Regards,
Tom Ogilvy

"jt46" wrote in message
...

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

John


--
jt46
------------------------------------------------------------------------
jt46's Profile:

http://www.excelforum.com/member.php...o&userid=15154
View this thread: http://www.excelforum.com/showthread...hreadid=269823





All times are GMT +1. The time now is 08:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com