Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Sub SheetsDescending()
For i = 1 To Application.Sheets.Count
For j = 1 To Application.Sheets.Count - 1
If UCase$(Application.Sheets(j).Name) < UCase$(Application.Sheets(j + 1).Name) Then
Application.Sheets(j).Move after:=Application.Sheets(j + 1)
End If
MsgBox "Xong"
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment