View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] fede1845@yahoo.com is offline
external usenet poster
 
Posts: 4
Default Macro for conditional formating more than 3

Hi,

I need help on setting colors to rows depending on a cell value from
those rows.


I have a sales spreadsheet with 8 sales reps information on it.
Each row has a single invoice.


I want to assign a color to the row cell range depending on the sales
rep code.


For Example.
If on the first in column A I list the sales rep codes like "EM",
"EV", "RP" , etc


If A2 says "EM" I want the cell range A2:H2 to be pink
If A3 says "EV" I want the cell range A3:H3 to be orange


I want to set it up so when I type the sales rep code it will
automatically asign the color to the row range


Thanks in advance