Created
November 2, 2024 14:40
-
-
Save seamusabshere/f9dfbe976d4d8ffb82e9591c20fe5bfe to your computer and use it in GitHub Desktop.
1-click Excel autofilter and freeze panes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub autofilter_split() | |
Rows("1:1").Select | |
' Turn on Autofilter | |
Selection.AutoFilter | |
Rows("2:2").Select | |
' Freeze Panes | |
ActiveWindow.FreezePanes = True | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment