selecting all cells that have cond. format. applied

xtreme07

Board Regular
Joined
Sep 21, 2010
Messages
71
hi,

i have a list of 200k rows, from which about 100k meet the cond. format. rules and therefore the 100k are highlited in red.

i would need a way to copy-paste these 100k cells to another file. wondering if there's a semi/automated way to do this.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
VBA can't look for conditionally highlighted cells without some really elaborate coding. I would recommend having VBA find these cells based on the exact condition that makes them red.

What is the condition/formula that returns a red cell? Do you want to copy entire rows or just individual cells?
 
Upvote 0
Which version of Excel? In 2010 VBA can use the displayed format, whereas in 2007 it can't.
 
Upvote 0
ty for your replies.

i have managed to do this on a semi-automated basis.
i chose filter by > color (i chose red)
then, only the cells with red where displayed. this allowed me to select with a click of the mouse all these colored cells and then copy-paste to another file.

Note! to select with a click of the mouse all the cells in the table, one should locate the mouse pointer half the way from A0 to A1 (between A0 and A1), until you can see a black arrow pointing down. that's when the click is made and all the cells in the table are selected. hope it makes sense as i can't find a better way atm to explain it :)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,574
Messages
6,179,626
Members
452,933
Latest member
patv

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