Hello guys,
I'm rookie for VBA/macros, and I have encountered this Run Time Error 13 when I try to use the Format Painter, copy down (Ctrl+D), drag and copy etc.
Here is my code, can someone please help me with this issue? Really appreciated! Thanks!
Private Sub Worksheet_Change(ByVal Target As Range)
If Application.CountIf(Range("E:E"), Target) > "1" Then
MsgBox "This duplicate document has already been entered! Please enter next duplicate document.", vbCritical, "Change Entry"
Target.Value = ""
End If
End Sub
Bookmarks