You can use the CurrentProject property to access the CurrentProject object and its related collections, properties, and methods.
Setting
The CurrentProject property setting contains a reference to the CurrentProject for the current code database.
This property is available only by using Visual Basic and is read-only.
Remarks
Use the CurrentProject property to refer to one of the following current database collections together with one of its properties or methods.
AllForms | AllReports |
AllDataAccessPages | AllMacros |
AllModules | AccessObjectProperties |