Sub 工作表重命名()
Dim I
Dim Y
Application.ScreenUpdating = False
Application.DisplayAlerts = False
Dim sh As Worksheet
For Each sh In Sheets
I = sh.Name
IF NOT I LIKE "[汇总,Sheet1]" then
Y = Mid(I, 1, 5)
sh.Name = Y
End If
Next
Application.ScreenUpdating = True
Application.DisplayAlerts = True
End Sub