the above vba delete all sheets except "Input" but not the charts. I want all charts to be deleted also.Sub delete() Dim ws As Worksheet Application.DisplayAlerts = False For Each ws In Worksheets If ws.Name <> "Input" Then ws.delete Next Application.DisplayAlerts = True End Sub