A macro is a set of actions that can be run automatically, and on demand. Macros can be used to automate repetitive tasks, which can save time and effort for the user.
Macros are usually configured to run whenever a particular event occurs. You specify what that event is when you create the macro.
You can create macros for almost any task, or set of tasks. The great thing about macros is that they can run many tasks, one after the other, all at the click of a button. They can even be configured to run automatically as soon as the database is opened.
Create a Simple Macro
We'll now create a macro that opens a form automatically whenever the database is opened. We'll open the form that we created previously. This form enables the user to enter new albums into the database.
The macro has now been created. Now let's test the macro to see if it works.
Run the Macro
The only way to test the macro is to run it.
One way to run it is to double-click on it in the left navigation pane.
But to test it properly, we need to make sure that it will run when the database is opened. Therefore, we'll need to close the database and open it.