DIAdem Help

Method: Select for Comment

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

Method: Select for Comment

Selects a comment in DIAdem REPORT.

Object.Select()
ObjectComment
Object with this method

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

VBScriptPython

 

Dim oMyComment
Call Report.NewLayout
Set oMyComment = Report.ActiveSheet.Objects.Add(eReportObjectComment,"MyComment")
Call oMyComment.Select()
Call MsgBoxDisp(oMyComment.IsSelected)