View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Rickie Gibson Rickie Gibson is offline
external usenet poster
 
Posts: 2
Default Change the color of a cell when I type a certain word.

I'm using Excel 2003.
To do some planning and I'm using 6 different codes, for instance MED, JAK,
KOF, NID, DOK, WIK.
For each code I have defined a different color, for instance the code JAK
gets the color red. The other codes have different colors.

So, what I want to happen is that, when for instance I type JAK in cel F8
(or any other cel in the excel-sheet), this cel F8 must get automatically
get the color red.

How can I do this?
I'm not a programmer, but I really need this.
Can somebody provide me with an example how to program this in VB?


Rickie