View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
kenny kenny is offline
external usenet poster
 
Posts: 90
Default VB for conditional formatting more than 3 conditions

I would like to have VB code that will test each cell in an entire column
(everytime the worksheet is recalculated, if that is not too time-consuming)
and fill the cell with a different color based upon the string in the cell.
The possible string values are Red, Yellow, Green, Blue, Black, Grey, Purple.
The fill color would correspond to the string value.
I can't seem to get the hang of it. Any help would be appreciated. Thanks in
advance to all the great contributors to this forum.