Macros & Excel VBA

How to Use VBA to Delete Rows with Specific Data in Excel (9 Examples)

Dataset Overview In this tutorial, we’ll explore various examples of deleting rows using Excel VBA. Let’s start by considering the following ...

Excel VBA: Advanced Filter with Multiple Criteria in a Range

 VBA Advanced Filter Syntax:  AdvancedFilter: refers to a range object. You can set the range where you want to apply the Filter. Action: ...

Excel VBA: Form Control Checkbox Value – 3 Examples

The dataset showcases a course registration form with 6 different courses. Using a Code in the Visual Basic Editor Go to the Developer ...

Using Excel VBA to Count Blank Cells in a Range – 3 Methods

This dataset contains blank cells.   Method 1 - Embed a VBA to Count Blank Cells in a Range with the COUNTIF Function Steps: ...

VBA to Copy Data to Another Sheet with Advanced Filter in Excel: 3 Methods

Method 1 - Embed VBA Code to Copy Data to Another Sheet with Advanced Filter in Excel Steps: Press Alt + F11 on your keyboard or go to the tab ...

How to Find Blank Cells Using VBA in Excel: 6 Methods

Method 1 - Check Whether a Specific Cell Is Blank or Not Step 1: Open Microsoft Visual Basic; insert a Module using the instruction section. Paste ...

How to Use Excel VBA to Convert a Number to Text (4 Examples)

The dataset below represents the published article numbers of some writers on a content publishing site named ExcelDemy. The numbers are in number ...

How to Delete a Worksheet with No Prompt Using Excel VBA (5 Methods)

  What Is a Prompt Warning Message? The following VBA code creates a new Excel worksheet and deletes it when you run the code. Sub ...

Excel VBA: Insert Formula with Relative Reference (3 Ways)

In this article, we'll discuss how to use Excel VBA to insert a formula with relative cell references in a single cell or a range of cells. ...

Excel VBA Codes to Format Cell as Text (3 Easy Examples)

How to Use Code in the Visual Basic Editor Go to the Developer tab from the Excel ribbon. Click on the Visual Basic option. In the ...

Excel VBA: Find the Next Empty Cell in Range: 4 Examples

We’ve used a dataset that contains a sale list of a super shop. The dataset has a bunch of empty cells and we want to find them before performing any ...

How to Create Dynamic Drop Down List Using VBA in Excel

Let’s say we have a dataset where Employee Name, Company Name, and Business Addresses are displayed. We want a dynamic drop-down list where we can ...

How to Make a Dynamic Data Validation List Using VBA in Excel (3 Steps)

Step 1 - Create a Dynamic Name Range Go to the Formulas tab and select Name Manager. As a result, a Name Manager window will appear. ...

Excel VBA: Complete Guide To Delete Row If Cell Is Blank

Method 1 - Run a VBA Macro to Delete a Row If the Cell Is Blank in a Single Column with Excel VBA We'll develop a Macro that’ll delete rows with ...

Excel VBA: Getting the Cell Value from Another Workbook without Opening it – 2 Examples

How to Launch the VBA Editor in Excel Go to the Developer tab. Select Visual Basic. A new window will open. Select Insert, ...

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo