i was trying to copy all the unique items from a range to another range, but code 'xlFilterCopy' the advanced filter action i specified doesn't work. anybody has a clue, thanks million!
FindUniqueVal Range("A2:A100"
, Range("C1"
Sub FindUniqueVal(SourceRange As Range, TargetCell As Range)
SourceRange.AdvancedFilter Action:=xlFilterCopy, _
CopyToRange:=TargetCell, Unique:=True
End Sub
FindUniqueVal Range("A2:A100"
Sub FindUniqueVal(SourceRange As Range, TargetCell As Range)
SourceRange.AdvancedFilter Action:=xlFilterCopy, _
CopyToRange:=TargetCell, Unique:=True
End Sub