• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Running an Access Macro

You have learned quite a bit about macros but haven't yet learned how to execute them. This process varies depending on what you're trying to do. A macro can be run from the Macro Design window or the Macros tab, triggered from a Form or Report event, or invoked by selecting a menu or toolbar option. The first three methods are covered here in the following sections, but invoking a macro from a menu or toolbar option is covered in Chapter 13, “Let's Get More Intimate with Forms: Advanced Techniques.”

Running a Macro from the Macro Design Window

A macro can be executed easily from the Macro Design window. It's simple to run a macro without subroutines; just click Run on the Macro Design toolbar or choose Run | Run. Each line of the macro is executed unless conditions have been placed on specific macro actions. After you click the Run button of mcrOpenClients (shown in Figure 11.13), the frmClients form is opened.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint