Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
KD KD is offline
external usenet poster
 
Posts: 41
Default Macro to be used with Combo box

Hi,

I am looking for a macro to activate the item from the dropdown of the
combobox and filter its results in the respective coloumns.

For eg.

If my combo box has following drop down items
ITEM A
ITEM B
ITEM C
ITEM D
ITEM E

and I choose ITEM D from the dropdwon.

I have other sheets in the same workbook and each of them has a coloumn with
the above items (Item A, Item B, Item C, Item D and Item E)

What I want?
When I choose an Item (Item D in the above example) from the dropdown, other
sheets are filtered according to that selection (Item D).

Is that possible?

Thank you for any help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Macro to be used with Combo box

Something along the lines of

Worksheets("Sheet1").Columns(1).Autofilter Filed:=1,
Criteria1:=ComboBox1.Value

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"kd" wrote in message
...
Hi,

I am looking for a macro to activate the item from the dropdown of the
combobox and filter its results in the respective coloumns.

For eg.

If my combo box has following drop down items
ITEM A
ITEM B
ITEM C
ITEM D
ITEM E

and I choose ITEM D from the dropdwon.

I have other sheets in the same workbook and each of them has a coloumn
with
the above items (Item A, Item B, Item C, Item D and Item E)

What I want?
When I choose an Item (Item D in the above example) from the dropdown,
other
sheets are filtered according to that selection (Item D).

Is that possible?

Thank you for any help.



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
assign a macro to a combo box dave caizley Excel Discussion (Misc queries) 2 September 20th 07 08:58 AM
Combo Box and Macro flow23 Excel Discussion (Misc queries) 0 July 3rd 07 02:50 PM
Macro that can run combo boxes simonsmith Excel Discussion (Misc queries) 0 June 5th 06 05:00 PM
Macro that triggers off a combo box doug1 Excel Discussion (Misc queries) 2 January 24th 06 02:14 PM
Combo Box Filtering Macro Jon Excel Discussion (Misc queries) 0 March 23rd 05 06:59 PM


All times are GMT +1. The time now is 01:20 PM.

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"