YasserKhalil
Well-Known Member
Hello everyone
I have the following code in worksheet change
If I entered any value in column H , a date is inserted in column F
I need to prevent the worksheet change if the user used copy or cut ..
Is it possible?
I have the following code in worksheet change
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Application.Intersect(Target, Columns("H:H")) Is Nothing Then
Target.Offset(, -2).Value = Date
If IsEmpty(Target) Then Target.Offset(, -2).Value = ""
End If
End Sub
If I entered any value in column H , a date is inserted in column F
I need to prevent the worksheet change if the user used copy or cut ..
Is it possible?