Executing Procedures from the Module Window
It's easy to test procedures from the Module window in Access 2003simply click anywhere inside the procedure you want to execute, and then press the F5 key or click the Run Sub/UserForm button on the toolbar. The procedure you're in will execute as though you had called it from code or from the Immediate pane of the Debug window.