Macros & Excel VBA

How to Use the VBA Union Function in Excel – 3 Examples

The VBA Union Function  Description The VBA Union function unifies multiple ranges. Syntax: Union (Arg1, Arg2, Arg3, Arg4, Arg5, ...

Excel VBA to Create Timer Loop (3 Unique Examples)

Example 1 - Create a Timer Loop with Intervals in Excel Go to the Developer tab and select Visual Basic from the Code section. Select ...

How to Use the Timer Function in Excel VBA – 3 Examples

The VBA Timer Function Description The VBA Timer returns the fractional value of a second. Syntax Timer Return Value The Timer ...

How to Create Timer Event with VBA in Excel (with Easy Steps)

A timer in Excel is used for counting down time. For practical purposes you may need to create this timer event option in Excel. There are several ...

How to Create Cascading Combo Boxes in Excel VBA UserForm

In this article, I will show you the procedures of cascading combo boxes in Excel VBA UserForm. While working in Excel, you may need to make some ...

How to Create a Textbox Datepicker with Excel VBA – 5 Steps

Step 1 - Creating Two UserForms Go to Insert. Click UserForm. In the Userform, add Labels (Date: position 1), command buttons (position ...

How to Create a Spin Button with VBA in Excel – 3 Methods

The sample dataset showcases a House Rent Calculator. It has information on Monthly Rent, Community Bill and Council Tax. To get the Total ...

How to Get Excel VBA Combobox with RowSource Named Range

The sample dataset has three columns, Name, ID, and Contact Number. The dataset ranges from B4 to D10. Step 1 - Creating a ListBox ...

How to Use Truncate in Excel VBA  (3 Effective Ways)

Method 1 - User-Defined Function to Truncate Text Steps: Create an organized dataset. We have a dataset with football players’ full names. We ...

How to Delay Timer with VBA in Excel (3 Easy Ways)

Looking for ways to delay timer with VBA in Excel? Then, this is the right place for you. Sometimes we want to run a macro after some time delay. To ...

How to Generate or List All Possible Permutations in Excel

A permutation is a mathematical technique that establishes the total number of possible arrangements in a collection. We can generate and list all ...

How to Populate a VBA ListBox Using RowSource (2 Methods)

Dataset Overview To demonstrate these methods, we'll use a dataset of some students with their Student ID, First Name, Last Name, and Gender. ...

How to Create Popup Reminder in Excel (3 Ideal Examples)

In this article, we will demonstrate 3 examples of how to create a popup reminder in Excel. We'll use the dataset below to illustrate our methods: ...

How to Disable Alerts in Excel VBA: 3 Methods

Method 1 - Open Visual Basic Editor Go to the Developer tab >> click the Visual Basic button. This opens the Visual Basic Editor in ...

How to Create a Calculator Using Macros in Excel (with Easy Steps)

Step 1 - Record Macro Steps: Create a basic outline as shown in the following image. We constructed two Input cells in cells C4 and C5. You ...

Close the CTA

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo