BLOGS BY TOPIC
BLOGS BY AUTHOR
BLOGS BY YEAR
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).
- An Introduction to UserForms in VBA
- Creating and Using UserForms in VBA
- The Properties Window (this blog)
- Selecting Forms and Controls
- Formatting Forms and Controls
- Grouping, Aligning, Sizing, Spacing and Arranging
- Controlling How Form Keys Work
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:
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:
Choose the menu option shown to display the Properties window.
Alternatively, you can press F4 or click on this 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||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.