I have this code:
.Range("A2:A" & UBound(mylog) + 1) = WorksheetFunction.Transpose(mylog)
It at the end of the Sub, it dumps all the list values from the array starting at
A2 to the last row of my Control workbook. This works, but because of the complexity of my code due to business rules, I have duplicates at the end, which I filter out by selecting it column and using AutoFilter with distinct.
Is there a way to do this step in VBA, to alter that one liner of code, so that it dumps
the distinct values already out of the array, would save me one step, thank you!
.Range("A2:A" & UBound(mylog) + 1) = WorksheetFunction.Transpose(mylog)
It at the end of the Sub, it dumps all the list values from the array starting at
A2 to the last row of my Control workbook. This works, but because of the complexity of my code due to business rules, I have duplicates at the end, which I filter out by selecting it column and using AutoFilter with distinct.
Is there a way to do this step in VBA, to alter that one liner of code, so that it dumps
the distinct values already out of the array, would save me one step, thank you!