IDiseaseWorksheetManager

Queries

WorksheetExists #

Determine whether the specified worksheet exists within the workbook.

Signature:

Public Function WorksheetExists(ByVal workbook As Workbook, ByVal sheetName As String) As Boolean

Parameters:

  • workbook: Workbook hosting the worksheet collection.
  • sheetName: String worksheet name to locate.

Returns: Boolean True when the worksheet exists.


Commands

RemoveWorksheet #

Remove a worksheet using guarded Application settings.

Signature:

Public Function RemoveWorksheet(ByVal workbook As Workbook, ByVal sheetName As String) As Boolean

Parameters:

  • workbook: Workbook hosting the worksheet.
  • sheetName: String worksheet name to delete.

Returns: Boolean True when the worksheet was removed.