មេរៀន VBA


What is VBA?

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



How to get to the VBA environment

You can access the VBA environment by opening up the Microsoft Visual Basic window. The quickest way to do this is by pressing Alt-F11 while your Access database file is open.