Should I use a macro or Visual Basic?

Should I use a macro or Visual Basic?

In Microsoft Access, you can accomplish many tasks by using macros or through the user interface. In many other database programs, the same tasks require programming. Whether to use a macro or Visual Basic for Applications often depends on what you want to do.

When should I use a macro?

Macros are an easy way to take care of simple details such as opening and closing forms, showing and hiding toolbars, and running reports. You can quickly and easily tie together the database objects you've created because there's little syntax to remember; the arguments for each action are displayed in the lower part of the Macro window.

In addition to the ease of use macros provide, you must use macros to:

When should I use Visual Basic?

You should use Visual Basic instead of macros if you want to: