Compile

The Compile menu in the Visual Basic dialog has these commands:

Compile

Compiles the contents of the edit window. Compilation errors appear in a dialog which contains information about the errors. If compilation is successful, the Run is activated.

Run

The VBA function for the event is called. Note that if no function is named in the Event details dialog, nothing happens when you select Run.

Event handlers with parameters report execution errors when you try to execute them. This is because they must be called and receive proper parameters from other INVOICES modules. Since Manager does not provide any parameters, and this causes run-time errors.