Clear Red Cells with VBA

Gerry P

New Member
Joined
Jul 2, 2016
Messages
11
I am totally new to this.....But I need help with a macro that will clear cells that are high lighted Red

I am trying to make a line plot with the combined good values from columns x,y,z x5:z21000

Excel 2013 Red color is rgb 255 Sheet name is " Curve Data "


I could email file if needed................. Thanks in advance for any help
 
This works Amazing Mark !!!!! wow !! 1 more question if you dont mind ? Is there a way to re populate the cells like a undue macro ?
 
Upvote 0

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
You can't normally undo actions by a macro but seeing as the cells held formulas (and I assume the formula is similar throughout) then it should be a simple task to put the formula back into all the cells.
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

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