Hello,
I'm a rookie at VBA.
I have the following macro that performs an advanced filter. I want it to take the results from the advanced filter and remove any results that have duplicate values in column 17.
Thanks in advance for the help!![]()
Sub CreateFilteredRange() Dim lastTransactionCell As String lastTransactionCell = Range("Reference!Receipt_Table_Last_Row").Text Sheets("Results").Select Sheets("Results").Cells.Clear ActiveWorkbook.Save Sheets("TransactionDataFromWeb").Range("A1", lastTransactionCell).AdvancedFilter Action:= _ xlFilterCopy, CriteriaRange:=Range("Reference!Criteria"), CopyToRange:=Range _ ("A1"), Unique:=False End Sub
Bookmarks