change color font after updated

R

reza

hi all,

i work with excel everyday, sometimes i forget which one i already changed
in that sheet.
i.e in column D, i have a values.
now every time i changes or update that column, the color of font will
change automatically maybe red, yellow or anything. at least i can know the
changed.

many thanks for ur help

reza
 
L

L. Howard Kittle

You could try something like this. Might get you headed in the right
direction.

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column <> 4 Then Exit Sub
Target.Interior.ColorIndex = 4
End Sub

HTH
Regards,
Howard
 
L

L. Howard Kittle

Hmmm, you said FONT not cell so try this.

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column <> 4 Then Exit Sub
Target.Font.ColorIndex = 3 '4
End Sub

Regareds,
Howard
 
R

reza

nice...work greats

thanks howard..



L. Howard Kittle said:
Hmmm, you said FONT not cell so try this.

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column <> 4 Then Exit Sub
Target.Font.ColorIndex = 3 '4
End Sub

Regareds,
Howard




.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top