DIAdemヘルプ

Object: CommentElement

  • 更新日2024-09-12
  • 2分で読める

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