Macros & Excel VBA

Excel VBA Call Sub from Another Module

  Method 1 - Using Call Function Using the Call Function we can call a sub and execute the task inside the sub directly. There are ...

VBA Instr Case Insensitive (2 Suitable Examples)

In this article, I am going to show you how to make the VBA Instr function case insensitive in Excel. First, we will look at the syntax and ...

How to Run a Private Sub in VBA (3 Methods)

Here's an overview of a private sub in VBA. What Does Private Sub Mean in Visual Basic? A private sub refers to a subroutine or method ...

Use Excel VBA to Create Chart from Pivot Table

Here's an overview of using VBA to create a chart from a pivot table. Use Excel VBA to Create Chart from Pivot Table: 3 Methods We have ...

How to Use Excel VBA Sub to Return Value

In this article, we will learn how to execute Excel VBA sub to return value using the ByRef keyword in different ways. VBA is a programming language ...

Excel VBA to Call Sub with Parameters (3 Suitable Examples)

If you want to learn Visual Basic for Applications (Excel VBA), one of the most important concepts to know is Subroutines with parameters and how to ...

Using the Excel VBA Function to Return Multiple Values – 6 Methods

The image below showcases how three results can be obtained, using the ByRef argument in the Excel VBA function. Method 1 - Returning ...

Excel VBA to Call Private Sub from Another Module

In this article, we will discuss VBA codes to call Private Sub from another module. A Private Sub is a subroutine that can be accessible from the ...

How to Define a Global Array in Excel VBA – 2 Methods

This is an overview. What Is a Global Array in Excel? In VBA (Visual Basic for Applications), a global array is an array that is declared ...

Excel VBA Private Sub vs Sub (Comparison & Differences)

The blog post compares Private Sub and Sub in VBA (Visual Basic for Applications) programming and explains their differences. The blog post will ...

How to Call Private Sub in Excel VBA (4 Simple Ways)

Visual Basic for Applications (VBA) is a programming language commonly used in Microsoft Excel, Word, and other Office applications. Calling a Sub or ...

Excel VBA Call Sub from Another Sheet

If you have been using Excel for some time, you probably know that VBA is a powerful tool to automate your tasks and streamline your workflows. But ...

Excel Refresh All Not Working (Reasons and Solutions)

The "Refresh All" feature in Excel is essential for retrieving up-to-date data and sustaining correct analyses. However, at certain times this ...

How to Use the Excel VBA Textbox to Format Dates (4 Methods)

When working with UserForms in Excel VBA, it is often necessary to format the date values displayed in TextBox controls for a better user experience. ...

Excel VBA Declare Global Variable and Assign Value: 2 Ways

Method 1 - Declare Global Variable and Assign Value in VBA There are numerous advantages to using Global variables. We will address the issues ...

Close the CTA

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo