DIAdem Help

Collection: 2DTableSelectedElements

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

Collection: 2DTableSelectedElements

Collection of all 2DTableSelectedElement objects in DIAdem REPORT. Use the 2DTableSelectedElements collection to access a selected element in a 2D table.

The following example displays the names of all 2D tables in the current worksheet and the number of elements selected in the respective table:

VBScriptPython

 

Dim oMyReportObj, oMyReportObjects
Set oMyReportObjects = Report.ActiveSheet.Objects
For Each oMyReportObj in oMyReportObjects
  If oMyReportObj.ObjectType = eReportObject2DTable Then
    Call MsgBoxDisp("Object name: " & oMyReportObj.Name & vbCrLf &_
                    "Number of selected elements: " & oMyReportObj.SelectedElements.Count)
  End If
Next

Properties

Count

Methods

Add2DTable | Item

Returned From

2DTable.SelectedElements