DIAdem Help

Method: Exists for Sheets

  • Updated2024-09-12
  • 1 minute(s) read

Method: Exists for Sheets

Checks whether a worksheet with a specific name already exists in DIAdem VIEW.

bExists = Object.Exists(Name)
ObjectSheets
Object with this method
NameString
Specifies the name of the worksheet.
bExistsBoolean
Specifies whether the worksheet with the specified name already exists (TRUE) or not (FALSE).

The following example indicates whether a worksheet exists:

VBScriptPython

 

Call MsgBox(View.Sheets.Exists("Sheet1"))