Report.ClearSelection
Deletes the selected objects or text within the report.
| Syntax | Parameters | Return value |
|---|---|---|
| - | This function has no parameters. | This function does not return a value. |
SVB Example
Removing the selected item or text in a report:
Option Base 1
Option Explicit
Sub Main
Dim rpt As Report
'delete the selected text or object from
'the active report
Set rpt = ActiveReport
rpt.ClearSelection()
End Sub