Is There Such A Sheet / Page Name İn The Excel File? Online Excel and Excel Macro (VBA) Courses Copy Macro 'For online Excel courses click: https://www.excelsizeyeter.com/excelwithkenan.com/udemy_giris.php Sub DoesSheetExist() Dim wSheet As Worksheet On Error Resume Next Set wSheet = Sheets("Sheet1") If wSheet Is Nothing Then 'Doesn't exist MsgBox "Worksheet does not exist", _ vbCritical, "OzGrid.com" Set wSheet = Nothing On Error GoTo 0 Else 'Does exist MsgBox "Sheet 1 does exist", _ vbInformation, "OzGrid.com" Set wSheet = Nothing On Error GoTo 0 End If 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 Is there such a sheet / page name in the Excel file? 2 Determining the name of the sheet / page and file containing the active cell 3 automatic image fetch 4 List sheet / page names in Excel file 5 specifies in detail how many references the book contains (on new sheet / page) 6 excellent menu insert file menu print print preview sheet / page structure remains 7 remove sheet / page protections 8 Open a txt file on a sheet / page and import its contents The name of a txt file is the sheet / page name 9 b3e enter data insert web sheet / page as sheet / page 10 Make sheet / page names in Excel file invisible 11 sheet / page address and set column width 12 List the names of Excel files in a folder then give them a link 13 excel operators hk 14 I want my file not to close with alt + f4 or by clicking x while my sheet / page is active 15 add sheet / pages 16 specifies in detail how many formulas are in the book (on new sheet / page) 17 list formulas on new sheet / page 18 perfectly deletes the menu to the right mouse and adds print print preview sheet / page structure 19 browse folder xls list 20 inserts months as sheet / pages Specifies days in detail