Open the Macro or the Visual Basic Editor Code window from a form or report

Open the Macro or the Visual Basic Editor Code window from a form or report

  1. In form or report Design view, do one of the following:
  2. Click the Build button next to the appropriate event property. For example, if you want to create a macro or event procedure that will run when you click a command button, click the Build button next to the command button's OnClick event property.

  3. Click Macro Builder to open the Macro window, or click Code Builder to open the Visual Basic Editor Code window.

Note   If you want to be able to view all the code behind a form or report, click Code on the View menu.