Macros & Excel VBA

How to Add a Row to the Bottom of a Table Using an Excel Macro (2 Methods)

Dataset Overview In this article, we’ve got a table named Table1 in an Excel worksheet that contains the names, starting salaries, and present ...

How to Remove Hidden Double Quotes in Excel: 6 Easy Ways

Method 1 - Using Find and Replace Step 1: Go to Home Tab > Select Find & Select (in Editing section) > Click on Replace (from the ...

VBA Range with Variable Row Number in Excel – 4 Examples

This is an overview: Sub Range_with_Variable_Row_Number() First_Cell = InputBox("Enter the First Cell of the Range: ") Row_Number = ...

Find the Last Row with Data in a Range Using Excel VBA Macros – 7 Methods

This is the sample dataset. Opening the VBA Editor Press Alt+F11. Select Insert > Module. Method 1 - Use of the Range.End ...

How to Concatenate Apostrophe in Excel: 6 Easy Methods

Method 1 - Using Ampersand Operator (&) to Concatenate Apostrophe Steps: Type the following formula in cell D5. ...

How to Select Range Based on Cell Value VBA (7 Ways)

Method 1 - Selecting Range Based On Another Cell Value We will select the cell range in the Region and Sales column based on the string Apple in the ...

How to Convert Column Number to Letter in Excel (3 Methods)

Method 1 - Convert Column Number to Letter in Excel Consider the following dataset which we will be using as our example to convert column number to ...

How to Compare Text and Highlight Differences in Excel (8 Quick Ways)

To demonstrate our Methods, we'll use the following dataset containing the names of the best-selling books in an online shop over two consecutive ...

How to Select Columns with VBA (3 Easy Ways)

  Download the Practice Workbook Selecting Columns with VBA.xlsm 3 Ways to Select Columns with VBA Consider the List of Company ...

How to Find a Character in Excel String (8 Easy Ways)

If we want to find specific characters of an Employee’s Name and ID, we have to find characters appearing in the Character Sign column. For a better ...

How to Select Cell with VBA in Excel (6 Useful Ways)

Download the Practice Workbook Select Cell with VBA.xlsm How to Select a Cell with VBA in Excel Method 1 - Select a Cell of the ...

VBA Macro to Delete Columns Based on Criteria in Excel: 8 Examples

Method 1 - VBA Macro to Delete Columns Based on Cell Value in Excel Steps: Press Alt + F11 on your keyboard or go to the tab Developer -> ...

How to Use Dynamic Range in Excel VBA (11 Ways)

We have a dataset of a company to demonstrate the ways of using a dynamic range in VBA. Method 1 - Select Cells Containing Values Through ...

VBA to Convert Column Number to Letter in Excel (3 Methods)

In this article, we will demonstrate how to convert a column number to its corresponding column letter in Excel with VBA code using 3 methods: ...

Macro to Copy Data from One Workbook to Another Based on Criteria

Suppose we have two workbooks called Workbook1 and Workbook2. In Workbook1 we have the Names, Types, and Prices of some books in a bookshop. ...

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo