Is it possible to test the existence of a sheet name? I have written the following code but would like a message box to appear if the sheet name selected does not exits.
Sub TestSheetName()
Dim PromptTab As String
PromptTab = Application.InputBox(“Enter Tab Name”)
Sheets(PromptTab).Select
End Sub