Hi,
Im trying to run a macro if value in column K changes into "Sent". This macro is working fine if i define only one cell (for example Set Target = Range("K15")) but not if I try to expand the range for entire column. What I am doing wrong with this macro?
Private Sub Worksheet_Change(ByVal Target As Range)
Set Target = Range("K:K")
If Target.Value = "Sent" Then
Call CopyCell
Call RemoveDuplicates
End If
End Sub
Thanks in advance!
Im trying to run a macro if value in column K changes into "Sent". This macro is working fine if i define only one cell (for example Set Target = Range("K15")) but not if I try to expand the range for entire column. What I am doing wrong with this macro?
Private Sub Worksheet_Change(ByVal Target As Range)
Set Target = Range("K:K")
If Target.Value = "Sent" Then
Call CopyCell
Call RemoveDuplicates
End If
End Sub
Thanks in advance!