Delete Certain Sheet / Pages (except Sheet / Pages A B And C) Online Excel and Excel Macro (VBA) Courses Copy Macro 'For online Excel courses click: https://www.excelsizeyeter.com/excelwithkenan.com/udemy_giris.php Sub GereksizSayfaSil() Application.DisplayAlerts = False For Each ws In Worksheets If ws.Name = "a" Or ws.Name = "b" Or ws.Name = "c" Then GoTo sonraki ws.Delete sonraki: Next Application.DisplayAlerts = True End Sub Report problem with this macro This macro does not work. There's an error in the code. Other You can write your comments about the error in the box below. Report error ALL MACROS Youtube Channel The following macros may be useful for you. Similar Results NoMacro Name 1 delete certain sheet / pages (except sheet / pages a b and c) 2 specify the number of copies to print from the printer 3 sheet / pages other than certain sheet / pages 4 deletes all sheet / pages except the active sheet / page 5 Finding sheet / pages with Inputbox 6 Adds sheet / pages based on data in column A and writes data up to column D 7 a macro that automatically deletes the following month-old sheet / pages before moving to the new month when the specified month is over 8 sheet / pages with toolbars and menus 9 add sheet / pages as menus 10 sheet / pages showing userform (with code without form) 11 delete sheet / pages other than specific sheet / pages 12 deletes hidden sheet / pages 13 Turkish alphabetical sorting also sorts hidden sheet / pages 14 no warning when deleting sheet / pages 15 do not send messages when deleting sheet / pages 16 Fills the line spacing on the sheet / page 17 if the sheet / page is blank, inserts the date in the footer and prints if not 18 excel operators hk 19 hiding except requested sheet / pages 20 Adding and deleting jpeg images