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:
- Project Name
- Project Description
- Help File Name
- Project Help Context ID
- Conditional Compilation Arguments
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.