You will need to run your project a number of times before it is finished. To run a procedure, position the cursor anywhere in the procedure and choose Run Sub/User Form from the Run menu, or press F5.
You can also display the form you are working on, execute any code that you have attached to event procedures within the form, and test the controls that you have placed on the form. To run the form, position the cursor anywhere on the form, and then choose Run Sub/User Form from the Run menu, or press F5.
To learn more about running your VBA code, refer to the Help topics within the section Visual Basic How-To Topics of the Visual Basic for Applications Help file, or search for the Index keywords "running code" or "executing code".