sorting tabs Home Board Archive Index Excel VBA sorting tabs Posted by Hance on December 25, 2001 5:34 PM Anyone know how to sort tabs in any fashion? Posted by Jacob on December 25, 2001 6:35 PM HiThis will do the trick Public Sub sortsheets() Dim iCount As IntegerDim i As IntegerDim j As Integer On Error Resume NextiCount = Sheets.CountFor i = 1 To iCount - 1For j = i + 1 To iCountIf Sheets(j).Name < Sheets(i).Name ThenSheets(j).Move before:=Sheets(i)End IfNext jNext i End Sub