DIAdem Help

Object: Comment

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

Object: Comment

The Comment object provides a comment in DIAdem REPORT.

The following example generates a comment in the current worksheet:

VBScriptPython

 

Dim oMyComment
Call Report.NewLayout()
Set oMyComment = Report.ActiveSheet.Objects.Add(eReportObjectComment,"MyComment")
oMyComment.Comment.Text = "This is a comment"
Call Report.Refresh()