Hi, i am getting application object defined error on the below, could you please explain why?
Code:
With .Range("A6:A" & lDstRowNum).Validation
.Delete
[COLOR=red][B] .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:=xlBetween, Formula1:="=rngName"
End With[/B][/COLOR]