LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default user friendly filter

Hi,

I am a kinda of newbie with VBA and I am working on a macro that would
allow the user to easely filter a huge sheet called "Data". The sheet
data has a variable number of rows and columns and have headers.I am
working with excel 2000 and with userforms.

Part of what I would like to do is:
- in combobox1 the user can choose among the headers of the sheet.
- when he chooses one, the unique value of the columns content is
displayed in listbox1

Example :
Data :
A B C D
1 f 33 t
2 f 34 t
1 g 33 t
2 g 35 u

So combobox1 would display : A, B, C, D

And if the user clicks on A,
listbox1 would display : 1,2
If he clicks on C,
listbox1 displays : 33,34,35

Any ideas?

Vincent
Philadelphia
 
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
all sheets need the same first 6 columns - user friendly presentat mariekek5 Excel Discussion (Misc queries) 1 June 16th 09 05:07 PM
Making a Form for User-friendly Macros? SeventFloorProfessor Excel Discussion (Misc queries) 1 January 17th 09 04:37 PM
User-friendly lookup solutions needed Sally Excel Discussion (Misc queries) 3 September 26th 07 06:26 AM
I need a user friendly route sheet! Help! :} nrosales84 New Users to Excel 0 September 17th 07 10:10 PM
Drill to Details - is there user friendly way to delete the sheet Dave Excel Worksheet Functions 1 January 31st 07 04:06 PM


All times are GMT +1. The time now is 01:27 AM.

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

About Us

"It's about Microsoft Excel"