Report.GetSection

Syntax

Report.GetSection( oldestIndex, latestIndex)

Return Value

String

The content of the report that the index parameters specify.

Purpose

Returns a section of the report.

Remarks

After calling the Report.Append method multiple times, call this method to obtain the section of text associated with the specified append index.

Note When a ReportSection object is assigned to the Report object, this method returns invalid values and is not supported.

Parameters

oldestIndex As Long

[In] Specifies the index of the Report.Append method that starts the section.

latestIndex As Long

[In] Specifies the index of the Report.Append method that ends the section.

See Also

Report.Append

Report.LatestAppendIndex

Report.Reset

ReportSection