Method: Select for Comment
- Updated2024-09-12
- 1 minute(s) read
DIAdem REPORT > Methods > Method: Select for Comment
Method: Select for Comment
Selects a comment in DIAdem REPORT.
Object.Select()
| Object | Comment 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:
| VBScript | Python |
Dim oMyComment Call Report.NewLayout Set oMyComment = Report.ActiveSheet.Objects.Add(eReportObjectComment,"MyComment") Call oMyComment.Select() Call MsgBoxDisp(oMyComment.IsSelected)