Just figured this out myself.
Record the macro to sort your column.
View the code for the desired worksheet.
Add:
Private Sub Worksheet_Activate()
Copy and paste "Your Macro"
End Sub
Here is my worksheet:
Private Sub Worksheet_Activate()
Columns("D:O").Select
Selection.Sort...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.