Macros & Excel VBA

How to Evaluate String as Code with Excel VBA (2 Examples)

Are you looking for ways to evaluate string as code with Excel VBA? Visual Basic for Applications (VBA) is a versatile programming language widely ...

How to Create a Timer with Milliseconds in Excel VBA

Step 1 - Creating a Data Set with Timers Open a workbook and put your desired alert times, just like the screenshot below. Read More: ...

How to Input Dialog Box in Excel VBA (2 Easy Examples)

In this short tutorial, I will show you how to create an input dialog box through VBA in Excel. Fortunately, Excel has a built-in function named ...

Excel VBA ComboBoxes – 4 Examples

How to Add a ComboBox in Excel This is the sample dataset. Steps: Go to the Developer tab >> Insert >> Combo Box (ActiveX ...

How to Perform Drawing of Objects with VBA in Excel (2 Examples)

Example 1 - Drawing Simple Shapes with VBA Code We will design a rectangle, a cell-sized rectangle, and a cube. Steps: Open your worksheet. ...

VBA Union Method to Join Range in Excel (3 Examples)

The VBA Union method helps to put several ranges into one single range. You can also find and sort a wide range of data into one single range based ...

How to Use VBA Code for Making a Digital Clock in Excel: 2 Steps

Method 1 - Employ VBA Code in Module Press Alt + F11 to open your Microsoft Visual Basic. Press Insert > Module to open a blank module. ...

How to Draw in Excel Using VBA – 5 Examples

Example 1 - Using the VBA AddShape Method to Draw in Excel Steps: Go to the Developer tab >> click Visual Basic. In the ...

How to Add Tooltip to UDF in Excel

Today we will talk about ways to add Tooltip to UDF or User Defined Function in Excel. Tooltips are small descriptions of functions when we enter the ...

How to Convert TextBox Value to Cell with VBA in Excel

In this article, we will explain in detailed steps how to convert a TextBox value into a cell with VBA in Excel. We'll build a UserForm to input ...

How to Reset ComboBox to Default Value Using VBA

In this article, we will show how to reset ComboBox to the default value using the VBA code. ComboBoxes are a great tool to store a list and then ...

How to Use VBA Dictionary in Excel: 6 Practical Methods

Method 1 - Create a VBA Dictionary Steps: Open the Microsoft Visual Basic window by pressing  Alt+F11 . Click on the Tools tab and go to, ...

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

What Is a Countdown Timer? A countdown timer is a type of digital clock that starts counting down from a specific date or number. It's commonly used ...

Clear Excel Memory Cache Using VBA (3 Easy Ways)

This article describes three straightforward Excel VBA methods for clearing cache memory, a process which improves application speed. We'll use ...

How to Add Item to ComboBox with VBA in Excel

What Is a ComboBox in Excel? A ComboBox allows users to create or choose from a list of options. It is a type of a drop-down list based on a ...

Close the CTA

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo