Report Property

Applies to

Control Object

Report Object

SubForm Object

SubReport Object

You can use the Report property to refer to a report or to refer to the report associated with a subreport control.

expression.Report

expression Required. An expression that returns one of the objects in the Applies To list.

Remarks

This property refers to a report object. It is read-only in all views.

You can use this property by using a macro or Visual Basic.

This property is typically used to refer to the report contained in a subreport control.

Note: When you use the Reports collection, you must specify the name of the report.

Example

The following example uses the Report property to refer to a control on a subreport.

Dim curTotalSales As Currency
curTotalSales = Reports!Sales!Employees.Report!TotalSales
Expand your skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×