ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   VBA code to search for a text from a userform (https://www.excelbanter.com/excel-programming/376002-vba-code-search-text-userform.html)

Austy

VBA code to search for a text from a userform
 
Hi,
I have made a userform to deal with data from 13 sheets in a work book.

I just don't want to use usual search and find from EDIT Menu

Can any one help me by giving a vba code to find a text which meets the
search criteria like between two dates and highlight it

Thanks
Austy

Bob Phillips

VBA code to search for a text from a userform
 
Look at Find/FindNext in VBA help.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Austy" wrote in message
...
Hi,
I have made a userform to deal with data from 13 sheets in a work book.

I just don't want to use usual search and find from EDIT Menu

Can any one help me by giving a vba code to find a text which meets the
search criteria like between two dates and highlight it

Thanks
Austy





All times are GMT +1. The time now is 06:49 PM.

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