Macros & Excel VBA

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 -> ...

How to Split a String into an Array in VBA (3 Effective Ways)

In this article, I’ll show you how you can split a string into an array in VBA. Split is one of the most important and widely used functions that we ...

Using a Macro to Compare Two Columns and Highlight the Differences in Excel – 2 Methods

Method 1 - Using a VBA Macro to Compare Two Columns and Highlight the Differences in Excel This is the sample dataset. Steps: Press Alt ...

How to Remove Trailing Spaces in Excel (6 Easy Methods)

While working in Excel, we often encounter hasty inputs of trailing spaces in cells. Whatever the reasons may be, existing trailing spaces pose ...

How to Merge Multiple Excel Files into One Sheet by VBA (3 Examples)

We have 3 Excel files - File1, File2, and File3 - which we are going to merge into one sheet or in one workbook. Remember: The files ...

How to Find and Replace Using VBA (11 Ways)

  Download the Workbook VBA Find and Replace. xlsm How to Find and Replace Using VBA - 11 Ways We will use the following table ...

Close the CTA

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo