Report.SetSelection
Sets the beginning and ending indices of the selected text within the report.
| Syntax | Parameters | Return value |
|---|---|---|
Sub Report.SetSelection( _
Start As Integer, _
End As Integer)
|
|
This function does not return a value. |
SVB Example
Setting the selected text in a report:
Option Base 1
Option Explicit
Sub Main
Dim rpt As Report
Set rpt = ActiveReport
'highlight the entire report
rpt.SetSelection(0,r.CharacterCount)
End Sub