Using VBA Forms

It is likely that your VBA project will need a custom form. For example, you might provide the operator with a choice of options before your program executes some task, like importing data. Or you might want to provide the operator with a custom data entry dialog box.

In VBA, you build these forms yourself. These forms are just like the dialog boxes you've seen or used in Microsoft Windows, such as the logon dialog box shown when you start up. The only difference is that you get to choose how these dialogs appear, when they appear, and what they do.

To learn more about Visual Basic forms, refer to the Help topics within the sections Microsoft Forms Design Reference, Microsoft Forms Developer's Tips, and Microsoft Forms Object Model Reference of the Visual Basic for Applications Help file, or search for the Index keyword "forms".

See Also