Interactive Userform

Below we will look at a program in Excel VBA that creates an interactive Userform. The Userform we are going to create looks as follows: Explanation: whenever you enter a value in the ID text box, Excel VBA loads the corresponding record. When you click the Edit / Add button, Excel VBA edits the record […]

Userform with Multiple Pages

Below we will look at a program in Excel VBA which creates a Userform that contains multiple pages. This userform also contains images. The Multipage Control contains two pages. At page 1, the user can fill in his/her personal information. At page 2, the user can indicate which painting he/she likes the most. To create […]

Controls Collection

When creating Userforms in Excel VBA, you can use the Controls collection to easily loop through controls and set a property of each control to a specific value. The Userform we are going to create looks as follows: To create this Userform, execute the following steps: 1. Open the Visual Basic Editor. If the Project […]

Loop through Controls

With just a few lines of code, we can easily loop through controls on an Excel VBA Userform. The Userform we are going to create looks as follows: To create this Userform, execute the following steps. 1. Open the Visual Basic Editor. If the Project Explorer is not visible, click View, Project Explorer. 2. Click […]

Multicolumn Combo Box

Below we will look at a program in Excel VBA which creates a Userform that contains a multicolumn combo box. The Userform we are going to create looks as follows: To create this Userform, execute the following steps. 1. Open the Visual Basic Editor. If the Project Explorer is not visible, click View, Project Explorer. […]

Multiple List Box Selections

The MultiSelect property in Excel VBA allows a user to select multiple items in a list box. The Userform we are going to create looks as follows: To create this Userform, execute the following steps. 1. Open the Visual Basic Editor. If the Project Explorer is not visible, click View, Project Explorer. 2. Click Insert, […]

Progress Indicator

Below we will look at a program in Excel VBA that creates a progress indicator. We’ve kept the progress indicator as simple as possible, yet it looks professional. Are you ready? The Userform we are going to create looks as follows: To create this Userform, execute the following steps. 1. Open the Visual Basic Editor. […]

Currency Converter

Below we will look at a program in Excel VBA which creates a Userform that converts any amount from one currency into another. The Userform we are going to create looks as follows: To create this Userform, execute the following steps. 1. Open the Visual Basic Editor. If the Project Explorer is not visible, click […]

Userform and Ranges

You can use a RefEdit control in Excel VBA to get a range from a user. The Userform we are going to create colors the minimum value of the range stored in the RefEdit control. To create this Userform, execute the following steps. 1. Open the Visual Basic Editor. If the Project Explorer is not […]