Hide Columns - if they contain cells which are coloured

jwalkerack

Board Regular
Joined
Jun 19, 2013
Messages
81
Hello ,

I have a spreadsheet that contains many columns of data that contain a range of cells that either Yes or No

Set up a conditional formatting so the YES cells are coloured and the No's are not. I can do this either way round.

I was wondering if someone knows of some code to hide the rows that are coloured or / None Coloured

i have found a similar question that has been answered related to rows

vba - Excel: Hide a row if no cells in that row are colored - Stack Overflow
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,216,761
Messages
6,132,568
Members
449,736
Latest member
anthx

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