Sub clear()Application.DisplayAlerts = FalseDim sht As WorksheetFor Each sht In Worksheets If sht.Name <> ActiveSheet.Name Then sht.Delete End IfNext shtEnd Sub