hi,
i need a routine in excel.
the program knows who is working on it.
if it is me, no problem,
if it is someone else, it goes to a subroutine.
other persons may not change the program,
they may just fill some data in cells.
to see what they have done, the color of their data must be blue.
I tried with a routine, but it don't works.
can you help me to fix this?
thnx,
ps.
below the code that i use
i need a routine in excel.
the program knows who is working on it.
if it is me, no problem,
if it is someone else, it goes to a subroutine.
other persons may not change the program,
they may just fill some data in cells.
to see what they have done, the color of their data must be blue.
I tried with a routine, but it don't works.
can you help me to fix this?
thnx,
ps.
below the code that i use
Code:
Sub protect()
If ActiveSheet.Protection.AllowFormattingCells = False Then
ActiveSheet.protect AllowFormattingCells:=False
Application.FindFormat.Font.ColorIndex = 2
End If