Macros & Excel VBA

How to Delete Row If Cell Contains Value Using Macro in Excel (2 Examples)

In this article, we will use a VBA macro to delete cells that contain either a string or numbers, as in the following gif. The VBA syntax ...

How to Count Rows with VBA in Excel (5 Approaches)

In this article we'll cover how to use VBA to count rows from a specific range, from a selected range, by matching a specific criterion, by matching ...

How to Remove First Character in Excel (6 Quick Ways)

Here we’ve got a dataset with the Names of some students and their Student IDs of any class. We need to remove the first character (the ‘S’) from ...

How to Use Macro to Delete Rows Based on Criteria in Excel (5 Methods)

In this article, we will demonstrate five effective approaches to using a macro to delete rows based on various criteria in Excel. We'll use the ...

How to Use VBA to Delete Empty Rows in Excel?

Today I’ll show you how you can use VBA to delete the empty rows in Excel from your data set. How to Use VBA to Delete Empty Rows in Excel: A ...

How to Delete Multiple Rows in Excel with Condition?

While working in Excel, we sometimes have to delete multiple rows from a data set with a given condition. Today I’ll show you how to delete multiple ...

How to Auto Update Current Time in Excel (3 Easy Ways)

  Method 1 - Using the NOW Function  Steps: Select cell C4 and enter this formula: =NOW() Press Enter. It will enter ...

How to Create a Custom Formula in Excel (2 Practical Examples)

Despite all the built-in functions provided by Excel, we may need to create a different function to get our job done. Excel lets us create our own ...

How to Transpose in Excel VBA (3 Easy Ways)

One of the most important and widely used activities that we have to accomplish while working in Excel is to transpose a data set. Today I’ll show ...

How to Merge Cells Vertically Without Losing Data in Excel

To demonstrate our methods of merging cells vertically without losing data, we'll use the following dataset of some Book Records, and merge the books ...

How to Transpose Rows to Columns in Excel (7 Quick Methods)

Below is a dataset that shows the year and Results of Students. Method 1 – Using Paste Special Command a) Pasting a Special Command from ...

Excel VBA to Copy Multiple Sheets to New Workbook

Copying multiple sheets from one workbook to another manually is prone to errors and can become tedious with lots of sheets. In this article, we will ...

How to Insert Rows Automatically in Excel (4 Ways)

The dataset below contains the names, Regions, and Ranks of some sales representatives. We need to insert rows into the dataset automatically. ...

How to Concatenate String and Integer with VBA (5 Easy Ways)

Let’s consider the Employee Information dataset shown in the B4:E10 cells which contains the “First Name”, “Last Name”, “Country Code” and “Area ...

How to Concatenate Range in Excel (5 Useful Methods)

We’ve got a dataset with the Product ID and Product Name of some products of a company named Mars Group. The values are stored in the Cell range ...

Close the CTA

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo