Good morning,
Hope somebody can help me with this or let me know if it's possible.
I'd like to use advanced filter to get a list of unique values in a range but instead of writing this list to a location in the worksheet I'd like to load the values directly into an array.
Has anyone managed this before?
What I tried to use was:
I'm getting a "Reference not valid" message so I was hoping someone knew of a workaround.
Thanks
Nick
Hope somebody can help me with this or let me know if it's possible.
I'd like to use advanced filter to get a list of unique values in a range but instead of writing this list to a location in the worksheet I'd like to load the values directly into an array.
Has anyone managed this before?
What I tried to use was:
Code:
Range("A1:A5474").AdvancedFilter Action:=xlFilterCopy, _
CopyToRange:=Array1, Unique:=True
I'm getting a "Reference not valid" message so I was hoping someone knew of a workaround.
Thanks
Nick