Name property (report)

Examples


The Name property specifies the internal name VBA uses to reference a report object.

Syntax

report.Name

Parameters

report – A report object.

Comments

You cannot set the Name property at runtime. We recommend that you change a report’s Name property using the Visual Basic Properties window. Be sure to replace all referenced occurrences of the report with the new name.

Use the Name property to change the report name when you need to resolve naming conflicts between reports and other objects in your application. These conflicts typically arise between names in your project and reserved words in VBA.

You can also use the Name property when you want to make an report’s name more readable in VBA code.


Documentation Feedback