Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 12. Creating Custom VBA Dialog Boxes > Adding a Form to Your Project

Adding a Form to Your Project

Forms are separate objects that you add to your VBA projects. To do this, open the Visual Basic Editor and either choose Insert, UserForm or drop down the Insert toolbar button (the second from the left) and click UserForm. As you can see in Figure 12.1, VBA performs the following tasks in response to this command:

  • It adds a Forms branch to the project tree in the Project Explorer.

  • It creates a new UserForm object and adds it to the Forms branch.

  • It displays the form in the work area.

  • It displays the Toolbox.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial