DIAdem Help

Collection: 2DTableColumns

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

Collection: 2DTableColumns

Collection of all 2DTableColumn objects in DIAdem REPORT. Use the 2DTableColumns collection to access a single column in a 2D table in DIAdem REPORT.

The following example displays the types of all columns in all 2D tables:

VBScriptPython

 

Dim oMyReportObj, oMyReportObjects, oMySubObjects, oMySubObj, sOutput
sOutput = ""
Set oMyReportObjects = Report.ActiveSheet.Objects
For Each oMyReportObj in oMyReportObjects
  If oMyReportObj.ObjectType = eReportObject2DTable Then
    Set oMySubObjects = oMyReportObj.Columns
    For Each oMySubObj in oMySubObjects
      sOutput = sOutput & "Column type: " & oMySubObj.Type & vbCrLf
    Next
  End If
Next
Call MsgBoxDisp(sOutput)

Properties

Count

Methods

Add | ChangeType | Copy | Item | Move | Remove | RemoveAll

Returned From

2DTable.Columns