Macros & Excel VBA

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 saves time and effort in our daily calculations. Although Excel provides a sorting facility by default, ...

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

Sort Multiple Columns with Excel VBA (Quick View) ActiveSheet.Range("B4:D13").Sort Key1:=Range("D8"), Order1:=xlAscending Sort Multiple ...

How to Use LOG Function in Excel VBA (5 Suitable Examples)

The VBA LOG function is a built-in Math or Trig function in Excel. The LOG function is available in both Excel Worksheet and VBA however they differ ...

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

The Abs function is a math function in VBA (Visual Basic for Applications) that returns an absolute value for a number. If you insert a negative ...

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 Randomize Function in Excel (5 Examples)

VBA Randomize function is an inbuilt Math or Trigonometry function of Excel which allows you to change the seed value used by the random number ...

How to Use VBA StrConv Function (5 Examples)

VBA StrConv refers to String Conversion; is a String Function used in Microsoft Visual Basic macros. This function changes a given string into a ...

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

How to Sort Array with Excel VBA (Both Ascending and Descending Order)

Method 1 - Sort Array A-Z (In Ascending Order) in Excel VBA Convert the selected range from an Excel worksheet into an array. Dim MyArray As ...

How to Use Sort Function in Excel VBA (8 Suitable Examples)

You may be accustomed to using the Sort & Filter option for sorting your data but there is a way to do this by using the Excel VBA SORT function ...

Close the CTA

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo