DIAdem Help

Object: CommentElement

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

Object: CommentElement

The CommentElement object provides the text and frame properties of 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()

Returned From

Comment.Comment