Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default 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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel: Syntax to change cell color based on color of another cell davew18 Excel Worksheet Functions 1 January 4th 07 01:24 PM
fill color to a cell when the value is negative or positi temetua Excel Programming 2 October 22nd 06 09:50 AM
Change the interior color of a cell - Code Review Tiny Tim Excel Programming 6 December 17th 05 09:49 PM
Change color to red when fraction is negative clive1950 Excel Worksheet Functions 1 August 25th 05 03:04 AM
How to make the cell or font color red if the number is negative? Bob T Excel Worksheet Functions 6 August 18th 05 01:28 PM


All times are GMT +1. The time now is 09:48 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"