Hello Mr. Excel participants,
By chance does anyone know how to sort by column header names?
I my VBA coding allows to grap data from two worksheets and consolidate into 1 named Summary. Example indicated below...Now I need to sort by column names. Example: Customer Name, Manager, Consultant Name...etc ect.
Can anyone lead me into the correct direction...???
Example:
Sub Sort_Sheets()
Sheets("Active").Range("A6:T500").Copy
With Sheets("Summary")
.Range("A1").PasteSpecial
Sheets("Cancelled").Range("A7:T500").Copy
Sheets("Summary").Range("A65536").End(xlUp).Select
Sheets("Summary").PasteSpecial
End With
End Sub
By chance does anyone know how to sort by column header names?
I my VBA coding allows to grap data from two worksheets and consolidate into 1 named Summary. Example indicated below...Now I need to sort by column names. Example: Customer Name, Manager, Consultant Name...etc ect.
Can anyone lead me into the correct direction...???
Example:
Sub Sort_Sheets()
Sheets("Active").Range("A6:T500").Copy
With Sheets("Summary")
.Range("A1").PasteSpecial
Sheets("Cancelled").Range("A7:T500").Copy
Sheets("Summary").Range("A65536").End(xlUp).Select
Sheets("Summary").PasteSpecial
End With
End Sub