I have a macro that can pull unique data from "Column A" but I also want the corresponding values from other columns of those unique values from Column A and I want them on a different spreadsheet. I tried using Worksheet Vlookup function in the code but it takes way too long for the dataset of over 70,000 rows and 42 columns. The code -
Sub UniqueProductDetails()
Dim ws1 as worksheet
Dim ws2 as worksheet
Ws1 = Worksheets(“Source”)
Ws2 = Worksheets(“Destination”)
SRow = Ws1.range(“A” & Rows.count).End(xlUp).Row
Ws1.Range(“A1:A” & SRow).AdvancedFilter Action:=xlFilterCopy, Unique=True, copytorange:=ws2.range(“A1”)
'This code provides unique column A values in the Destination sheet
End Sub()

