Chapter 3. Building Your First VBA Form

Now that you know your way around the VBA editor, your first project is to build a form to add a new feature to Outlook: setting reminders for the birthday and anniversary events that Outlook creates automatically from corresponding dates in contact items. In the process, you will learn the basics of designing VBA user forms.

The highlights of this chapter include discussions of the following:

  • How to add controls to a form using the VBA control toolbox

  • Which controls can be useful for data entry

  • How to add code to a VBA form

  • What makes a good dialog box

  • When to use option buttons and check box controls

  • How to work with list box and combo box controls

  • How to manage the way that users move around in a form

Understanding ...

Get Microsoft Outlook 2007 Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.