Macro to Hide Columns based on Multiple Selection (Drop-down Box)

Excel-lent7

New Member
Joined
Mar 27, 2011
Messages
6
Here is my situation,

I need to hide Columns based on Multiple Selected Criteria from Combo Box as follows:
ComboBox is in A1, (ComboBox Contains 15 Counties from which I can select as many as needed). Every column contains one county name or multiple counties names in the same cell and across row 4. Ex: D4 (Brevard), E4 (Brevard, Citrus), F4 (Marion), G4 (Polk,Citrus,Volusia) etc.
I need the Macro to hide the Columns of Counties not selected in dropdown box, if the county selected in drop down box is found within the cell, it must remain visible.

I've found similar cases on the net, but not quite what i need.

Hope anyone can help,

Thanks in advance.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Hi there.

I have a similar problem - just wondering if you ever found a way of doing this ?

Thanks

Feilim
 
Upvote 0

Forum statistics

Threads
1,215,426
Messages
6,124,828
Members
449,190
Latest member
rscraig11

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top