ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   code to change color of negative cell (https://www.excelbanter.com/excel-programming/398517-code-change-color-negative-cell.html)

[email protected]

code to change color of negative cell
 
I am creating a table with percentages and I want it to make the
negative %s red. How would I code/format for this?

Thanks,
Jackie


Tom Ogilvy

code to change color of negative cell
 
do a custom number format (format=cells=Number Tab then Custom)

0.0%;[Red]0.0%


--
Regards,
Tom Ogilvy


" wrote:

I am creating a table with percentages and I want it to make the
negative %s red. How would I code/format for this?

Thanks,
Jackie




All times are GMT +1. The time now is 06:15 PM.

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