PC Review


Reply
Thread Tools Rate Thread

code to change color of negative cell

 
 
jacquelineholliday@gmail.com
Guest
Posts: n/a
 
      2nd Oct 2007
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 With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      2nd Oct 2007
do a custom number format (format=>cells=>Number Tab then Custom)

0.0%;[Red]0.0%


--
Regards,
Tom Ogilvy


"(E-Mail Removed)" 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 With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change background color based on cell value in vb?? Current code notworking... Naji Microsoft Excel Programming 1 11th Feb 2008 10:15 PM
Why excel cell color did not change after formatting and VBA code? =?Utf-8?B?Q2FzZXkgV29uZw==?= Microsoft Excel Discussion 7 8th Nov 2007 05:20 PM
Change the interior color of a cell - Code Review Tiny Tim Microsoft Excel Programming 6 17th Dec 2005 09:49 PM
Color change for a negative value =?Utf-8?B?SUlmIElzc3Vl?= Microsoft Access Reports 3 14th Jun 2005 09:43 PM
Re: Color the cell with negative values Frank Kabel Microsoft Excel New Users 4 29th Jan 2004 10:41 PM


Features
 

Advertising
 

Newsgroups
 


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