ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   making a cell a certain font color based on condition (https://www.excelbanter.com/excel-programming/423535-making-cell-certain-font-color-based-condition.html)

robin

making a cell a certain font color based on condition
 
How do i make a macro or piece of code which will change the font color of a
cell if the number is a certain value? For example, if the value of the
number in a certain cell is 1,3,5,7 make the cell font red otherwise make it
black.

Stefi

making a cell a certain font color based on condition
 
Why don't you apply a simple Conditional format without any macro?

Regards,
Stefi

€˛Robin€¯ ezt Ć*rta:

How do i make a macro or piece of code which will change the font color of a
cell if the number is a certain value? For example, if the value of the
number in a certain cell is 1,3,5,7 make the cell font red otherwise make it
black.



All times are GMT +1. The time now is 01:47 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com