Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata
Function WorksheetExists(sName As String) As Boolean
    WorksheetExists = Evaluate("ISREF('" & sName & "'!A1)")
End Function
Sub test()
 SheetExists = WorksheetExists("PivotTable")
 MsgBox SheetExists
End Sub
  • No labels