Programming the User Form

The code for a control goes in the forms module. Unlike the other modules, double-clicking the forms module opens up the form in design view. To view the code, right-click on the module or the UserForm in design mode and select View Code.

To program a control, highlight it and select View, Code. The footer, header, and default action for the control is automatically entered in the programming field. To see what other actions are available for a control, select the control from the Object drop-down and view the actions in the Properties drop-down, as shown in Figure 9.5.

0 0

Post a comment