Macros & Excel VBA

How to Sort Array with Excel VBA (Both Ascending and Descending Order)

In this article, I’ll show you how you can sort an array with VBA in Excel. You’ll learn to sort the array both A-Z and Z-A with proper examples and ...

Filter Multiple Criteria in Excel with VBA (Both AND and OR Types)

In this article, I’ll show you how to filter multiple criteria from a dataset with VBA in Excel. You’ll learn to filter both AND type and OR type ...

How to Use VBA MkDir Function in Excel (6 Examples)

The VBA MkDir function can create a new directory or folder to a given drive location in your system. It is a convenient way to make necessary ...

How to Remove a Header in Excel (4 Methods)

A header is a significant tool for presenting a dataset by adding a title, date, page no., or anything else at the top of the sheets in Excel. But ...

How to Use VBA Replace Function in Excel (11 Applications)

In this article, we will demonstrate the use of the VBA Replace function. To illustrate this function to you we will go over several examples with ...

How to Use the VBA Weekday Function (2 Suitable Examples)

The Weekday function is one of the most important and widely used functions of VBA. In this article, I’ll show you how you can use the VBA Weekday ...

How to Use VBA Mod Operator (9 Examples)

The VBA Mod is not a function whereas MOD is a function in an Excel worksheet. VBA Mod is an operator which divides two numbers and returns the ...

VBA Format Function in Excel (8 Uses with Examples)

The Format function in Excel is a built-in function categorized as a String/ Text function. It is also used as a VBA function in Excel. In this ...

How to replace the Text of a Cell Based on a Condition in Excel – 5 Easy Methods

Method 1 - Replacing Text using the Find and Replace Tool in Excel This is the sample dataset. Step 1: Go to the Home tab. Click ...

How to Use VBA Case Statement (13 Examples)

If you are looking for some of the easiest ways to use the VBA CASE statement, then you are in the right place. The CASE statement is a type of ...

VBA Date Function (12 Uses of Macros with Examples)

In Microsoft Visual Basic Application, date functions or any date-related concepts are essential to perform various operations in your dataset. You ...

Reference from Another Excel Workbook Without Opening (5 Examples)

Microsoft Excel has a wide range of applications for our day-to-day use. One of them is to refer to any cell or range. We can refer to cells or ...

How to Use VBA InStrRev Function (7 Suitable Examples)

When you need to find the position of a character inside a string or the occurrence of a substring inside a string, the VBA InStrRev function might ...

How to Use VBA in an Excel Table – 9 Methods

This dataset showcases a table with headers. Method 1 - Creating a Table with VBA in Excel Declare the Table as a ListObject. ...

How to Format Number with VBA in Excel (4 Methods)

Implementing VBA macro is the most effective, quickest and safest method to run any operation in Excel. In this article, we will show you how to ...

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo