Macros & Excel VBA

How to Use VBA Switch Function (6 Suitable Examples)

The Switch function is Microsoft Excel’s in-built function. It is used in Excel VBA, too. The working procedure of this function is quite ...

How to Use VBA DateDiff Function in Excel (9 Examples)

In Excel, we utilize numerous functions to do the work speedily and efficiently. Excel VBA also has some built-in functions. The VBA DateDiff ...

VBA to Sort Table in Excel (4 Methods)

Implementing VBA macro is the most effective, quickest, and safest method to run any operation in Excel. In this article, we will show you how to ...

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 Insert Column with Excel VBA (4 Ways)

In this article, I’ll show you how you can insert a single column or multiple columns within a data set using VBA in Excel. I’ll give all the VBA ...

How to Use VBA StrComp Function in Excel (5 Common Examples)

In our daily life, we need to compare different things. In Excel, we have some built-in functions to perform this kind of comparison. The StrComp is ...

How to Use IsNull Function in Excel VBA (5 Examples)

Identifying the errors isn't the simplest thing in the world, and spotting them in the middle of a large spreadsheet is nearly burdensome. ...

How to Use VBA Str Function in Excel (4 Examples)

In Excel, we can use various functions to work quickly, and also we utilize VBA to do the work fast. In Excel VBA, there are so many functions that ...

Hyperlink in Excel VBA: Properties and Applications

While working with VBA in Excel, we often have to deal with the hyperlink. In this article, I’ll show you can work with the hyperlink in Excel. ...

How to Use VBA While Wend Statement in Excel (4 Examples)

The While…Wend Statement is a logical function in Excel VBA. The statement is used to create a While loop. When you are uncertain about the necessity ...

How to Use VBA RTrim Function (5 Suitable Examples)

The VBA RTrim function is a built-in String or Text function in Excel. The RTrim function is only applicable in VBA macros. We can’t use the RTrim ...

How to Use VBA LTrim Function in Excel (4 Examples)

Excel VBA LTrim function removes leading space from a string. This function is used to develop a Macro to remove leading spaces from a specific text. ...

How to Use VBA OR Function in Excel (3 Examples)

Any criteria-based calculation relies on logical functions. In Excel, one of the most undervalued logical functions is "OR". When it comes to solving ...

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 ...

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo