K
K7
Hello all again,
I've got some data in column A, sheet3 and I have the following code (that
works without problem)
Sub FilterUniqueItems()
Dim i As Integer
Dim list As Variant
Dim DataRange As Range
Set DataRange = Worksheets("sheet3").Range("A1:A10")
list = DataRange.AdvancedFilter(Action:=xlFilterCopy,
Copytorange:=Worksheets("sheet3").Range("B1"), Unique:=True)
End Sub
Is it possible to determine (programatically, I mean) how many and what
values the advancedfilter extract? I'd like to treat the data before pasting
it into Excel.
Best regards.
I've got some data in column A, sheet3 and I have the following code (that
works without problem)
Sub FilterUniqueItems()
Dim i As Integer
Dim list As Variant
Dim DataRange As Range
Set DataRange = Worksheets("sheet3").Range("A1:A10")
list = DataRange.AdvancedFilter(Action:=xlFilterCopy,
Copytorange:=Worksheets("sheet3").Range("B1"), Unique:=True)
End Sub
Is it possible to determine (programatically, I mean) how many and what
values the advancedfilter extract? I'd like to treat the data before pasting
it into Excel.
Best regards.