M
miabelladolce
how do i sort my names in excel in alphabetical order thankyou
Mike H said:Hi,
Put this code in any worksheet module and run it
Sub Sortem()
For X = 1 To Worksheets.Count
For y = X To Worksheets.Count
If UCase(Sheets(y).Name) < UCase(Sheets(X).Name) Then
Sheets(y).Move Before:=Sheets(X)
End If
Next
Next
End Sub
Mike