DIAdem Help

Method: Exists for SelectedObjects

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

Method: Exists for SelectedObjects

Checks whether an object with a specific name already exists in the objects selected in the current worksheet of DIAdem REPORT.

bExists = Object.Exists(Name)
ObjectSelectedObjects
Object with this method
NameString
Specifies the name of the selected object.
bExistsBoolean
Specifies whether the object with the specified name exists (TRUE) or not (FALSE) within the selected objects.

The following example displays whether an object with the name 2DTable1 exists within the selected objects:

VBScriptPython

 

Call MsgBoxDisp(Report.SelectedObjects.Exists("2DTable1"))

Log in to get a better experience