Thread: Color Code
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Ali[_3_] Ali[_3_] is offline
external usenet poster
 
Posts: 7
Default Color Code

Thank Tom!

-----Original Message-----
On Error Resume Next
cells.SpecialCells(xlformulas).Interior.ColorInde x =

8 ' or 5 for dark
blue
cells.SpecialCells(xlConstants).Interior.ColorInd ex = 3
On Error goto 0
--
Regards,
Tom Ogilvy



"Ali" wrote in

message
...
If the cell is a value turn red if its a formula turn

the
cell blue.

Thanks in advance for your help.



.