Private Sub Worksheet_Change(ByVal target As Range)
If target.Address = "$B$1" Then
Range("A1").Value = Date
End If
End Sub
thanks for the reply
but i wanted when print text in range from cell B1:B100 then Cell A1:A1000 takes today's date, and fix.
it did not work with normal today() formulas.
thanks alot
Private Sub Worksheet_Change(ByVal target As Range)
If Not Intersect(target, Range("B:B") Is Nothing Then
target.offset(0,-1).value = Date
End If
End Sub
is "B:B" covers any cell in column B
i don't see A:A column as a target for the date
cause it did nit work
thanks
Private Sub Worksheet_Change(ByVal target As Range)
If Not Intersect(target, Range("B:B")[B][COLOR=Red])[/COLOR][/B] Is Nothing Then
target.Offset(0, -1).Value = Date
End If
End Sub