Method: Select for RTFText
- Updated2024-09-12
- 1 minute(s) read
DIAdem REPORT > Methods > Method: Select for RTFText
Method: Select for RTFText
Selects a text object in DIAdem REPORT.
Object.Select()
| Object | RTFText Object with this method |
The following example generates a text object in the current worksheet, selects this text object, and then displays whether the text object is selected:
| VBScript | Python |
Dim oMyRtfText Call Report.NewLayout() Set oMyRtfText = Report.ActiveSheet.Objects.Add(eReportObjectRtfText,"MyRtfText") Call oMyRtfText.Select() Call MsgBoxDisp(oMyRtfText.IsSelected)