![]() |
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. |
making a cell a certain font color based on condition
With your relevant cell selected, click on the toolbar Format and then
conditional formatting. Add your conditions of cell value is equal to 1, 3 etc and click on the format button to change the colour to the one you require. "Robin" wrote: 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 10:29 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com