Macros & Excel VBA

Excel VBA to Sort Alphabetically

Data sorting is a common activity when working with Microsoft Excel. I am pretty sure that in some cases, you'll have to sort your cell data ...

Excel VBA to Sort Column Ascending (9 Examples)

Sorting is frequently used by Excel users. The user, therefore, needs a handy and easy procedure to sort columns. For this purpose, VBA code can be ...

Excel VBA to Exit Select Case (with Examples)

Are you trying to exit a Select Case Statement for a specific condition in Excel VBA? It greatly helps to optimize the performance of the code. ...

Excel VBA to Loop Through Named Range (6 Suitable Examples)

Looping through a named range is just like looping through a regular range.  The advantage is you can run a loop without having to explicitly ...

Activate Another Workbook with VBA in Excel: 6 Examples

Method 1 - Activate Another Workbook by Workbook Name in Excel VBA This example will help you activate another workbook by closing your existing ...

How to Use Excel VBA to Reverse String (5 Quick Ways)

Microsoft Excel allows us to estimate different data types and carry out monetary, mathematical, and statistical computations. When it comes to ...

Excel VBA to Custom Sort: 5 Easy Methods

Method 1 -  Creating Custom List to Sort Dataset Based on Single Column in Excel We created a list within G5:G8 cells. The list has three names, ...

Excel VBA to Find Matching Value in Column: 8 Examples

Method 1 - Using Match Function to Find One Matching Value in Column Find the Match value of the Model according to order ID. Prepare some ...

How to Use Target Value in Excel VBA

In VBA, the Target value refers to the cell or range that was changed by the user or by a macro. By setting the Target value, users can create macros ...

How to Use the Intersection Operator in Excel – 5 Examples

Example 1 - Use the Intersection Command and a Function Button in Excel Steps: Press F9. Enter the first level of rows, here C5:E7. Enter ...

Excel VBA: Select Range with Offset Based on Active Cell

Looking for ways to select a range with offset based on the active cell using VBA in Excel? Then, this is the right place for you. In order to ...

Excel VBA Sort Named Range (3 Examples)

Looking for ways to sort named range using VBA in Excel? Then, this is the right place for you. In Microsoft Excel, a Named Range is a set of ...

How to Use Excel VBA to Lookup Value in Range (5 Examples)

Here is a sample video of our work on VBA LOOKUP values in a range in Excel. How to Open VBA Macro Editor in Excel VBA is a programming ...

Excel VBA to Sort Worksheets Numerically (5 Ideal Examples)

Looking for ways to sort worksheets numerically using VBA in Excel? Then, this is the right place for you. Excel VBA can be used to automate ...

How to Use Nested Select Case with VBA in Excel (3 Examples)

The Select Case statement is one of the most commonly used statements in Excel VBA. It allows Excel users to perform different actions based on a ...

Close the CTA

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo