Convert the Macros to VBA
Macros are one way to create
code. Visual Basic for Application (VBA) is another. this
example will convert the embedded Macro code you already have and
show you how to read VBA code.
Try it: Convert the Macros into VBA
Open the Switchboard in Design View.
Go to Database Tools ->Macros.
Select: Convert Form's Macros to
Visual Basic.
You will be prompted to Convert.