Hey guys,
I am using the below to copy a row of data (Staff Names) across to a sheet so I can use the data in a drop down selection list that will be used to generate a sales report.
Does anybody know how to leave the source data as is but make the copied data alphabetical order?
My code is:
Thanks!
I am using the below to copy a row of data (Staff Names) across to a sheet so I can use the data in a drop down selection list that will be used to generate a sales report.
Does anybody know how to leave the source data as is but make the copied data alphabetical order?
My code is:
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
Set shtReport = Sheets("Reporting")
Columns("C:C").Select
Columns("C:C").AdvancedFilter Action:=xlFilterCopy, CopyToRange:=shtReport.Range("S:S"), Unique:=True
End Sub
Thanks!