#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 143
Default search

Hi All,

have these three column
Cola Colb Colc
aa bb 001
cc vv 002

thousands of rows like this.

Now I want a text box where i enter what am searching for and a search
button next to that.

when i search for aa in the text box
it should display only that row i.e
aa bb 001

How do we do that using VBA programming


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 67
Default search

Hi Gary,

You can use the 'Auto FIlter' function. Located on the Menu bar select 'DATA
| FIlter | AutoFilter' you then see across the top of you data drop down list
boxes. With each drop down list box you can select 'Custom Filter'. Within
'Custom Filter' you can set up multiple filter parameters, 'search items'.

Look at the help for more info on using AutoFilter, other Excel functions
can be used with autofilter like SubTotal.

HTH
KM

"Gary" wrote:

Hi All,

have these three column
Cola Colb Colc
aa bb 001
cc vv 002

thousands of rows like this.

Now I want a text box where i enter what am searching for and a search
button next to that.

when i search for aa in the text box
it should display only that row i.e
aa bb 001

How do we do that using VBA programming



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 143
Default search

Thx Kevin for ur suggestion,

But i need to create this in VBA only... i know abt the Custom filters. But
i need this application to be created in a GUI fashion. Similar to any web
page where we search eg: google

any ideas?
..
"Kevin McCartney" wrote in
message ...
Hi Gary,

You can use the 'Auto FIlter' function. Located on the Menu bar select
'DATA
| FIlter | AutoFilter' you then see across the top of you data drop down
list
boxes. With each drop down list box you can select 'Custom Filter'. Within
'Custom Filter' you can set up multiple filter parameters, 'search items'.

Look at the help for more info on using AutoFilter, other Excel functions
can be used with autofilter like SubTotal.

HTH
KM

"Gary" wrote:

Hi All,

have these three column
Cola Colb Colc
aa bb 001
cc vv 002

thousands of rows like this.

Now I want a text box where i enter what am searching for and a search
button next to that.

when i search for aa in the text box
it should display only that row i.e
aa bb 001

How do we do that using VBA programming





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Two search category & two search terms avk Excel Discussion (Misc queries) 1 June 2nd 10 01:25 PM
Functions (search within search result) reply to this please Nick Excel Worksheet Functions 1 February 17th 09 03:57 AM
How do I search excel spreadsheets using multiple search criteria. Kasper Excel Worksheet Functions 4 December 15th 05 12:26 AM
I cant do a search on this forum. Everytime I search, it comes up with zero results viswanthank Excel Programming 3 June 10th 05 09:15 AM
Create a search Field within a worksheet to search command buttons Ed P[_2_] Excel Programming 1 December 14th 04 08:04 PM


All times are GMT +1. The time now is 09:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"