Macro Changing Text Color

elisitamariel

New Member
Joined
Mar 11, 2014
Messages
1
Hello,

I'm trying to complete the following:

I have a range of cells using the below formula:

=IF(ISBLANK(A8),P7,A8)

What I would like to do is create a macro that can help me change the text color to white of those cells where the above argument comes out as true.

Can that be done?

Thanks for your help.
 
Last edited:

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
No need to use a macro which sounds like it may be a more complex process. You could set up a Conditional Format. Depending which Excel version you are using; look at HOME/Conditional Formatting
 
Upvote 0
Looks like Conditional Formatting will do that, unless you have a compelling reason for wanting a macro.

Regards,
Howard
 
Upvote 0

Forum statistics

Threads
1,216,190
Messages
6,129,422
Members
449,509
Latest member
ajbooisen

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