Search notes:

VB Editor: Tools -> project-name Options …

The project name Options menu opens a dialog that allows to modify some aspects of a Visual Basic Project.
With VBA, this dialog can be opened with something like
application.VBE.commandBars("menu bar").findControl(id := 2578, recursive := true).execute

Tab General

Enter:
With Access's Object Model, the value of Conditional Compilation Arguments can be queried like so:
application.getOption("Conditional Compilation Arguments")

Tab Protection

Use the Lock project for viewing tick box and a password to protect the project's VBA source code from being views.
Note: this «protection» can easily be broken.

Index