Macros & Excel VBA

How to Use VBA Asc Function (5 Practical Examples)

Download Practice Workbook VBA Asc Function in Excel.xlsm Introduction to VBA Asc Function The VBA Asc function is a built-in function ...

How to Use VBA Input Function in Excel (2 Examples)

Introduction to VBA Input Function in Excel The Input function can only be used in Excel VBA as there is no such worksheet function in Excel. ...

How to use Excel VBA to Change the Case of Text – 6 Examples

Download Practice Workbook Download the practice workbook. Change Case of Selected Text Using VBA.xlsm To change the case of text in ...

How to Create Excel VBA UserForm: 14 Methods

Method 1 - Creating a Blank UserForm Go to the top ribbon, press on the Developer, and then press on the Visual Basic option from the menu. ...

How to Use MsgBox and InputBox in VBA Excel

Introduction to InputBox() Function Using the VBA InputBox() function, we can display an InputBox to users and request responses from them. This is ...

How to Use an Excel VBA Userform – 2 Examples

This is an overview. Creating Your Own UserForm You can develop a macro that works with different data in different circumstances, using ...

How to Create Custom Function in Excel VBA

Here's an overview of a custom function that was made via VBA code. As you can see, the function has lowercase letters, unlike traditional Excel ...

How to Use the VBA Average Function in Excel – 4 Examples

Quick View: Function TopAverage(DataAvg, Num) 'Returns the average of the highest Num values in Data Sum = 0 For i = 1 To Num ...

How to Create a VBA Function with Arguments in Excel – 4 Examples

Example 1 - Creating a VBA Function with a Single Argument Create a function to convert Kg to Grams: Steps: Enter the following code in the ...

How to Use VBA User Defined Function (4 Suitable Examples)

What Is a VBA User Defined Function? A user defined function is a custom function made by users according to their needs. It is a collection of ...

How to Execute VBA Function Procedure in Excel (2 Easy Ways)

This article is part of a series: Excel VBA & Macros – A Step by Step Complete Guide. Method 1 - Calling Custom Functions from Procedure to ...

Difference Between Subroutine and Function in Excel VBA

There are lots of similarities between a custom Function/User-Defined Function procedure and the Sub-procedure/Subroutine in Excel. However, Function ...

25 VBA Macro Example for Enhanced Productivity

How to Launch and Insert Code in the Visual Basic Editor in Excel The Developer tab contains the VBA applications including creating and recording ...

How to Use VBA Conditional Statements in Excel (4 Examples)

This article is part of a series: Excel VBA & Macros – A Step by Step Complete Guide Download Practice Workbook VBA Conditional ...

List of 10 Mostly Used Excel VBA Objects (Attributes & Examples)

This article is part of the series: Excel VBA & Macros – A Step by Step Complete Guide. Download Practice Workbook VBA Objects.xlsm ...

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo