VBA Environment in MS Access
This MSAccess tutorial explains the VBA environment in Access (with screenshots and step-by-step instructions).
What is VBA?
This is what the VBA environment looks like in Microsoft Access:

VBA standards for Visual Basic for Applications and is the language embedded within your database in Access.
You use VBA whenever you do one of the following:
- Create a new function.
- Create a new subroutine.
- Define a global variable.
- Place code behind an event procedure such as the “On Click” event of a command button.
- Execute the RunCode action in a macro.
These are just some of the examples of when you might be running VBA code.