Browse 532 attributed reviews, viewable separately for our classroom and online training
Drawing UserForms in the VBA code editor
Part three of a seven-part series of blogs

Learn how to create your own custom dialog boxes in VBA, using UserForms. This is the first part of a three-part series (the other parts are on Writing Code for UserForms and Creating Advanced Controls).

  1. An Introduction to UserForms in VBA
  2. Creating and Using UserForms in VBA
  3. The Properties Window (this blog)
  4. Selecting Forms and Controls
  5. Formatting Forms and Controls
  6. Grouping, Aligning, Sizing, Spacing and Arranging
  7. Controlling How Form Keys Work

This blog is part of our Excel VBA tutorial series.  We also run training classes in Excel and courses in VBA.

Posted by Andy Brown on 28 February 2012

You need a minimum screen resolution of about 700 pixels width to see our blogs. This is because they contain diagrams and tables which would not be viewable easily on a mobile phone or small laptop. Please use a larger tablet, notebook or desktop computer, or change your screen resolution settings.

The Properties Window

If you spend much time designing forms, you'll need the Properties window to be permanently visible:

Properties window

The Properties window allows you to make changes to any aspect of a form or its controls.


Displaying the Properties Window

You can display the Properties window using the menu:

Properties window menu

Choose the menu option shown to display the Properties window.


Alternatively, you can press F4 or click on this tool:

The Properties tool

Click on the tool shown to display the Properties window.

Alphabetic or Categorised Properties

You can either display your properties in a list from A to Z, or choose to divide them into categories, depending on which tool you click on at the top of the Properties window:

Alphabetic listing of properties Categorised listing of properties
Alphabetic listing Categorised listing

I'm not sure I have any recommendation, but the rest of this blog will always use the Categorised (or should that be Categorized?) view.


Having learnt how to display the Properties window, you next need to learn how to select controls.


This blog has 0 threads Add post