DIAdem Help

Method: Select for Text

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

Method: Select for Text

Selects a text in DIAdem REPORT.

Object.Select()
ObjectText
Object with this method

The following example generates the text Test in the current worksheet, selects this text, and then displays whether the text is selected:

VBScriptPython

 

Dim oMyText
Call Report.NewLayout()
Set oMyText = Report.ActiveSheet.Objects.Add(eReportObjectText,"MyText")
oMyText.Text = "Test"
Call oMyText.Select()
Call MsgBoxDisp(oMyText.IsSelected)