Sub test()
Dim AA, Sht As Worksheet
For Each AA In [總表!A2:A11].Value
If AA = "" Then GoTo 101
On Error Resume Next
Set Sht = Nothing: Set Sht = Sheets(AA & "")
On Error GoTo 0
If Sht Is Nothing Then Sheets.Add(After:=Sheets(Sheets.Count)).Name = AA
101: Next
Sheets("總表").Select
End Sub