For Each Sht In Sheets
If Sht.Name <> Sheet1.Name Then Sht.Delete '删除所有分表
Next
Range("A1393").Select
Selection.AutoFilter
For x = 1 To 5
Sheets("b1").Select
Selection.AutoFilter Field:=4, Criteria1:=x
Selection.copy
Set wb = Worksheets.add
wb.Name = x
Sheets(x).Select
Range("A1").Select
ActiveSheet.Paste
Next x