Reports.Replace

Syntax

Reports.Replace( oldVal, newVal)

Return Value

Report

Purpose

Replaces the Report object you specify in the collection and returns the Report object.

Parameters

oldVal As Report

[In] Specifies the Report object in the collection to replace. If the Report object you specify is the active report, the replacement Report object becomes the active report.

newVal As Report

[In] Specifies the replacement Report object. Pass NULL to create a new empty replacement Report object.

See Also

Report