Macros & Excel VBA

VBA to Delete Column in Excel (9 Criteria)

Generic Syntax The generic syntax to delete single or multiple columns in Excel using VBA is: Columns(column number/ column address).Delete ...

How to Copy Sheet with VBA in Excel: 13 Quick Methods

Method 1 - Using Excel VBA to Copy a Worksheet in the Same Workbook (Before Any Sheet) Steps: Press ALT + F11 to open the Microsoft Visual ...

How to Use VBA Range Offset (11 Easy Ways)

In this article we will demonstrate a variety of ways to use the VBA Range Offset. Here is an overview. 11 Suitable Ways to Use VBA Range ...

Split Data into Multiple Worksheets in Excel (with Quick Steps)

In this article, we describe how to split data into multiple Excel worksheets using VBA & Macros. In our data set, we have data ...

How to Loop through a Range for Each Cell Using Excel VBA (8 Examples)

We will show you step-by-step instructions on applying a loop for each cell in a range using Excel VBA with a simple example. Look at this dataset ...

VBA to Set Range in Excel (7 Examples)

  VBA Range Object The Range object in VBA can contain a single cell, multiple cells, rows, or columns within the Excel worksheet. The ...

How to Use the Range Property in Excel VBA (the Ultimate Guide)

    1. Using Range Address To represent a single cell or a range of cells, you can use the Range Object, where the argument names the ...

How to Use Excel VBA to Copy Range to Another Excel Sheet

Here's an overview of copying a range without formatting. How to Use Excel VBA to Copy a Range to Another Sheet: 8 Suitable Ways We'll ...

End of a Range Using VBA in Excel (With Examples)

Here's the overview of functions that fetch the end of the range. Download the Practice Workbook End of a Range.xlsm The ...

How to Use VBA for Each Cell in a Range in Excel (3 Methods)

When working with large databases, dealing with ranges and cells is a common task. Sometimes, you need to perform the same action across a large ...

[Fixed!] Subscript Out of Range Error in Excel VBA

Here's an overview of VBA code that outputs errors. What Is the Subscript Out of Range Error in VBA? VBA Subscript out of range error ...

Excel VBA to Highlight Specific Text in a Cell (6 Ways)

Download Practice Workbook VBA to Highlight Specific Text.xlsm We will use VBA codes to highlight specific text in the sample data set ...

Using an Excel Macro to Compare Two Columns – 4 Methods

The sample dataset showcases Bank data: Full Name, Email_ID, and Address. To check whether the same person has accounts in both banks: ...

How to Remove Checkboxes from Excel: 6 Methods

Method 1 - Removing Checkboxes from Excel with Go To Command Steps: Go to Home >> Select Find & Select (in the Editing section) ...

How to Check If Cell Is Empty Using Excel VBA: 5 Easy Methods

Method 1 - Using the VBA IsEmpty Function to Check If Cell Is Empty  Steps: Press Alt + F11 on your keyboard or go to the tab Developer -> ...

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo