CodeProject.Path property (Access)
You can use the Path property to determine the location where data is stored for a Microsoft Access project (.adp) or Microsoft Access database. Read-only String.
expression A variable that represents a CodeProject object.
The following example displays a message indicating the disk location of the current Access project or database.
MsgBox "The current database is located at " & Application.CurrentProject.Path & "."