You cannot use SQL expressions in the Criteria column of a macro.
Typically, the direct execution of a macro is just a test. You can either attach a macro to a form, report, or control to respond to an event, or create a custom menu command that executes a macro, after you make sure that the macro is designed correctly.
If you want Microsoft Access to temporarily ignore an action, enter False as a condition. Temporarily ignoring the action helps you find the problem in the macro.
If you want to quickly create a macro that performs an action on a specified database object, drag the object from the Database window to the action row in the Macros window. For example, you can create a macro that opens a form by dragging it to an action row. The steps are as follows: Click the vertical Tile command on the Window menu to place the Macros window and the Database window. So that both can appear on the screen, and then in the Database window, click the tab for the type of object you want to drag, click the object, and drag it to an action row. If you drag a macro, you add an action that performs the macro, and dragging other objects (a table, query, form, report, or module) adds an action that opens the object.