mcintoshmc
Active Member
- Joined
- Aug 10, 2007
- Messages
- 277
I've used this macro for over a year, and for some reason it just stopped. Column O is still the correct column, and the date is supposed to reflect in column W.
Private Sub Worksheet_Change(ByVal Target As Range)
Dim rInt As Range
Dim rCell As Range
Dim tCell As Range
Set rInt = Intersect(Target, Range("O:O"))
If Not rInt Is Nothing Then
For Each rCell In rInt
With rCell.Offset(0, 8)
.Value = Now
.NumberFormat = "mmm d, yyyy"
End With
Next
End If
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
Dim rInt As Range
Dim rCell As Range
Dim tCell As Range
Set rInt = Intersect(Target, Range("O:O"))
If Not rInt Is Nothing Then
For Each rCell In rInt
With rCell.Offset(0, 8)
.Value = Now
.NumberFormat = "mmm d, yyyy"
End With
Next
End If
End Sub