This property returns the top-most (visible) report. Optionally, if the report contains a hierarchy of objects, this will return workbook information associated with that hierarchy.
This property is read only.
Syntax
Parameters
Return Value
ReadOnly Property Application.ActiveReportEx( _
Optional bIncludeWorkbooks As Boolean = True) As Object