Microsoft Office Tutorials and References
In Depth Information
Click Insert, Procedure to display the Add Procedure dialog box.
Type the name of your procedure in the Name box.
Select the Sub option button.
Note There are other options available to you in the Add Procedure dialog box—you’ll
learn about those possibilities a little later in this chapter.
After you finish the preceding procedure, the outline of a procedure appears in the active
code module, as shown in Figure 5-1.
Figure 5-1. As soon as you click OK in the Add Procedure dialog box, the skeleton of your
new procedure appears in the active code module.