Skip to content

Instantly share code, notes, and snippets.

@DuongAQ
Last active January 17, 2018 10:50
Show Gist options
  • Save DuongAQ/d824c7d3b14c38ac9ca6f6726dc9defa to your computer and use it in GitHub Desktop.
Save DuongAQ/d824c7d3b14c38ac9ca6f6726dc9defa to your computer and use it in GitHub Desktop.
Sub Sort_NoHeader() 'Excel VBA for a sort (ascending).
Range("A2", Range("G" & Rows.Count).End(xlUp)).Sort [D2], xlAscending
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment