VBA – Change Conditional Compilation Arguments in Access

VBA is not a scripting language. It compiles. As such, it has compilation arguments, which can be changed through code or manually. In MS Access you may find these here:

VBEditor>Tools>VBA Project>Database Properties:

If you want to use them for some debugging, this is the way to change them through code:

And this is how you get them:

Once you use them, you can refer to them like this for debugging reasons:

Cheers!

About

VBA Developer

Tagged with: , ,