Macros & Excel VBA

Excel VBA: If Cell Contains Value Then Return a Specified Output

In this article, I’ll show you how you can analyze the situation in Excel VBA if a cell contains a value. You’ll learn to analyze the situation for ...

VBA to Customize Row Height in Excel (6 Methods)

Sometimes we need to modify rows when working on a large dataset in Excel for better readability. Implementing VBA is the most effective, quickest ...

VBA to Hide Rows in Excel (14 Methods)

Sometimes we need to hide some specific rows when using our large dataset in Excel for better readability. Implementing VBA macro is the most ...

How to Freeze Panes with VBA in Excel (5 Suitable Ways)

In this article, I’ll show you how can freeze the panes of an Excel worksheet with Visual Basic of Applications (VBA). Many a time while working in ...

VBA to Merge Cells in Excel (9 Methods)

In Excel, to merge multiple cells or ranges and make it as one singular cell, Range.Merge method is used. In this article, we will show you how to ...

How to Print to PDF in Excel VBA : With Examples and Illustrations

In this article, I’ll show you how you can print any document to PDF using VBA in Excel. We’ll use the ExportAsFixedFormat method of VBA for this ...

How to Print Data with Excel VBA (A Detailed Guideline)

One of the most important and widely used tasks that we come across while working with VBA in Excel is to print the necessary data. Today in this ...

How to Use VBA to Insert Rows in Excel – 11 Methods

Method 1 - Applying VBA to Insert a Single Row Based on Cell Text Value in Excel Consider the following dataset. Steps: Press Alt + ...

How to Sort ListBox with VBA in Excel (A Complete Guide)

In this article, I’ll show you how you can sort a listbox with VBA in Excel. You’ll learn to sort a listbox with VBA in an Excel worksheet, as well ...

How to Sort a Table in Excel using VBA (4 Methods)

Things to Know Before Implementing VBA to Sort Table in Excel Before implementing VBA to sort a table in Excel, there are some parameters you need ...

VBA to Sort Column in Excel (4 Methods)

To sort in Excel with VBA, you need to apply the Range.Sort method. In this article, we will show you how to sort the column in Excel with the ...

How to Sort Range Using VBA in Excel (6 Examples)

Knowing how to sort range using VBA in Excel is time and effort-saving in our daily calculations. Although Excel provides a sorting facility by ...

How to Sort Multiple Columns with Excel VBA (3 Methods)

In this article, I’ll show you how you can sort a data set with multiple columns with VBA in Excel. You’ll learn to sort multiple columns of a data ...

How to Use Concatenate in Excel VBA (4 Methods)

  Download the Practice Workbook Download this practice workbook to exercise while you are reading this article. VBA Concatenate ...

How to Use VBA Val Function in Excel (7 Examples)

The VBA Val function is an Excel Text function which converts a text string into a numeric value. You can use this function in a VBA code to get the ...

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo