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