LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Applying conditional formating to make cells change color

I have a spreadsheet with a total amount, account number, account
name, and two different cash amounts. I want to set up a CF but I
need it in VBA because the information gets imported and erases the CF
otherwise. What I want is for the corresponding row in columns A, B,
C, D and E to change to red and bold if either of the values in Column
F and G are <0.

i.e.
Total Acct number Account Name Amount 1 Amount 2
1000.00 99 99-999 9999999 John Doe 1002.22 -2.22
1002.00 99 99-999 9999999 Jane Doe 1000.00 2.00
-1003.33 99 99-999 9999999 Jim Doe -1006.66
3.33


The first and last rows should be red and bolded. I can do it with
regular conditional formatting but I need code instead. Also the
account number is 3 columns

 
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
Conditional Formating Background Color tankerman Excel Discussion (Misc queries) 2 January 31st 07 02:02 PM
Conditional Formating - Different row color also when using filter Steen Excel Discussion (Misc queries) 5 January 3rd 07 10:56 PM
Conditional formating-change color of cells over than one with for carrera Excel Discussion (Misc queries) 4 November 28th 06 07:49 AM
list two columnar values based on conditional formating (text color) beechum1 Excel Worksheet Functions 2 February 12th 06 09:53 AM
How to change an entire row using conditional formating John Edwards Excel Discussion (Misc queries) 2 December 9th 04 05:41 PM


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

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

About Us

"It's about Microsoft Excel"