Sub SortSheets()
Dim i As Integer, j As IntegerFor i = 1 To Sheets.Count
For j = 1 To Sheets.Count - 1
If UCase$(Sheets(j).Name) > UCase$(Sheets(j + 1).Name) Then
Sheets(j).Move after:=Sheets(j + 1)
End If
Next j
Next i
End Sub
Experiences with Sql server
No comments:
Post a Comment