Public Sub listy()
On Error Resume Next
Application.DisplayAlerts = False
For i = 1 To 10
Sheets("data" & i).Delete
ActiveWorkbook.Sheets.Add After:=Sheets(Sheets.Count)
ActiveWorkbook.ActiveSheet.Name = "data" & i
Next
Application.DisplayAlerts = True
End Sub
M@citovat