hi bakerman,
Thanks very much for the updated code. I've made the following adjustments to match my actual workbook:
Sub tst()
sn = Sheets("Summary").Cells(1).CurrentRegion.Value
With CreateObject("scripting.dictionary")
For i = 1 To UBound(sn)
If sn(i, 16) = "Y" Then x0 = .Item(sn(i, 14))
Next
With Sheets("Data")
.Columns(1).ClearContents
.Cells(1).Resize(.Count) = Application.Transpose(.keys)
End With
End With
End Sub
16 is the column I'm matching the data to, and column 14 is were the unique list data is coming from. I'm getting a run-time error 438: object doesn't support this property or method on the following line:
.Cells(1).Resize(.Count) = Application.Transpose(.keys)
Any help? Also, i'm not certain where in your code it specifies where the unique list should be pasted in sheet Data.
Thanks for your help!
Bookmarks