Latest Blog Posts

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

Sum If Greater Than and Less Than Cell Value in Excel

Method 1 - Sum If Greater Than and Less Than from Same Value 1.1 Applying SUMIF Function for Greater Than and Less Than from Same Value You have to ...

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 Fit Long Text in One Cell in Excel – 6 Methods

Download Practice Workbook Download the worksheet here. Fit Long Text in One Cell.xlsx How to Fit Long Text in One Cell in Excel : ...

Using the VLOOKUP Functions Between Worksheets in Excel

VLOOKUP Between Worksheets in Excel: Knowledge Hub VLOOKUP and SUM Across Multiple Sheets VLOOKUP Example Between Two Sheets Perform ...

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

Excel VBA to Select Last Row

In Excel, if we need to add a new row after the last row in a large dataset, it can become tedious and time-consuming to go to the last row. Although ...

Close the CTA

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo