With a different type of event code.
Make sure Column 9(I) is unlocked as were A and H columns unlocked for data
entry.
Then copy/paste this to the sheet module. See it is change event code, not
double-click. Requires entering something into the cell.
Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo enditall
Application.EnableEvents = False
If Target.Cells.Column = 9 Then
ActiveSheet.Unprotect Password:="justme"
For Each cell In Target
If cell.Value <> "" Then
With cell.Offset(0, 1)
.Value = Now
.Locked = True
End With
End If
Next
End If
enditall:
Application.EnableEvents = True
ActiveSheet.Protect Password:="justme"
End Sub
NOTE: multiple types of event code can go into one module as long as no two are
the same type of event.
Gord
Here is the next thing they want me to do. Column 9 is an
"approved/rejected" field. When it is populated how can I get column 10 to
populate with a date that can't altered? Once again, I really appreciate
your help!!!
<snipped for brevity>