Using Embedded Macros

Access 2007 includes a new feature to create embedded macros in the event procedures for forms, reports, and controls. The macros you have been creating and opening thus far in this chapter are macro objects that you can access from the Navigation Pane. You save embedded macros, however, within the event procedures for forms and reports. You cannot see or run these macros directly from the Navigation Pane.

Editing an Embedded Macro

To edit an embedded macro, you must first open a form or report in Design view. The fdlgNotTrusted form in the Wedding List Macro database contains two embedded macros, each of which is attached to the Click event of one of the two command buttons. Select this form in the Navigation Pane, and open ...

Get Microsoft Office® Access 2007 Inside Out now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.