Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Function SheetExist(sh As String) As Boolean
Dim ws As Worksheet
On Error Resume Next
Set ws = Worksheets(sh)
If Not ws Is Nothing Then SheetExist = True
End Function
Sub a()
MsgBox SheetExist("sheet1")
End Sub
Call sheetExist("north")
How many times could this be false?!xlbo said:Call sheetExist(activesheet.name)
Call sheetExist("north")
Function SheetExist([b]northSheet[/b] As String) As Boolean
Dim ws As Worksheet
On Error Resume Next
Set ws = Worksheets([b]north[/b])
If Not ws Is Nothing Then SheetExist = True
End Function
If a man says something and there are no women there to hear him, is he still wrong?