Activate (Method)

Applies To:

ChartSection object, (CubeQuery)QuerySection object, DataModelSection object, Document object, DashboardSection object, OLAPQuerySection object, PivotSection object, QuerySection object, ReportSection object, ResultsSection object, Sections collection, TableSection object, WebClientDocument object

Description:

Changes the focus of an Interactive Reporting document file or section.

Syntax:

Expression.Activate()

Expression Required:

An expression that returns an object for these sections:

Example:

This example shows how to display and activate a section:

var MySection = ActiveDocument.Sections["Results"]
MySection.Visible = true
MySection.Activate()