1.

How to Use the Excel VBA INDEX MATCH Function in Another Worksheet – 3 Methods

This is an overview: The sample dataset showcases Names. Date and Quantity sold. The dataset is in sheet1 and the result sheets are sheet2 and sheet 3. Method 1 - Using the Worksheet Functions…

2.

How to Use Excel VBA Text to Columns Date Format (2 Examples)

The article demonstrates how to create a VBA macro that automates the Text to Columns process and converts text dates into Excel date format. Download Practice Workbook The dataset we'll use to…

3.

Using Excel VBA to Format a Number with a Leading Zero – 4 Methods

How to Launch the VBA Editor in Excel Enable the Developer tab on your ribbon. Go to the Developer tab. Select Visual Basic. Select Insert. Choose Module. A new Module will be created.…

4.

Loop Through Excel Files in Folder with VBA: 5 Suitable Examples

Method 1 - Loop Through Excel Files in Folder by Dir Function The Dir function in VBA retrieves the name of a file or folder that matches a specified pattern in a…

5.

Different Cases That Will Teach You to Work with a Variable in Excel VBA MsgBox: 5 Methods

Method 1 - MsgBox with Improper Variable Type Declaration While working in Excel VBA, we encounter various errors. Run-time error ‘13’ occurs when a variable is not properly defined. Sub Improper_variable() Dim…

6.

How to Filter ComboBox Data in Excel VBA

A ComboBox allows users to select from a list of predefined items. However if the list is too big, It may become difficult to find a required item. We can solve this…

7.

How to Use Target Address in Excel VBA (3 Examples)

  The sample dataset contains the production and selling prices of different mobile phones. We are going to use Target.Address to change cell formatting when the budget is changed by the user. Method…

8.

Excel VBA: InputBox with Default Value

Looking for ways to create Inputbox with default value in Excel VBA? Then, this is the right place for you. Default value is an important feature of InputBox in Excel VBA. It…

9.

How to Create Yes No InputBox with Excel VBA

Looking for ways to create Yes No InputBox with Excel VBA? Then, this is the right place for you. Excel has InputBox and MsgBox for inserting values/ text and displaying any type…

10.

Excel VBA: Running a Backwards For Loop

In this article, we will discuss how to use the For Loop statement in Excel VBA to loop through a range of cells backwards. We will explain the syntax of the For…

11.

VBA Delete Rows

In this article, we will talk about and show how to use VBA to delete a row or rows in Excel. We will go through some easy techniques to do the task…

12.

How to Use the VBA Input Box with Buttons in Excel – 2 Examples

The Input Box in Excel The Input Box is a dialog box that takes input from the users. It has two buttons: OK and Cancel. Syntax of the Input Box in Excel…

13.

Run Time Error 1004: Select Method of Range Class Failed – Reason and Solutions

How to Launch the VBA Macro Editor in Excel Go to Developer Tab >> Visual Basic. The Visual Basic window is displayed. Select Insert >> Module. Enter the code. Click Run or…

14.

Using Excel VBA to Copy the Cell Background Color – 5 Examples

This is an overview. How to Launch the VBA Editor in Excel Press Alt + F11 to open Microsoft Visual Basic. Select Insert > Module to open a blank module. Enter your…

15.

Excel VBA to Sum Range of Cells in Column

In this article, we will learn how we can use Excel VBA Sum Range of Cells in Column. Summing up a range of cells in a column is a very common task…

Advanced Excel Exercises with Solutions PDF