Macros & Excel VBA

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

If you are planning to learn Visual Basic for Applications (Excel VBA), one of the most basic tasks for you is to understand Subroutines with ...

Excel VBA Function to Return Multiple Values

Generally, a function can output a single value at a time while using the Excel VBA function. Any type of data can be declared that is supported by ...

How to Define VBA Global Array in Excel (2 Easy Ways)

In this article, we will explore the process of defining a global array in Excel VBA. We'll discuss the concept of module-level variables, their ...

Excel VBA Textbox to Format Date (4 Suitable Examples)

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

It appears to be quite easy to declare a variable. However, in order to have excellent practical experience, we must comprehend the range of those ...

Excel VBA to Select Last Row

In this article, we will discuss Excel VBA to select the last row. If users want to append a large dataset, they have to add a new row after the last ...

Activeworkbook Refreshall Not Working [Solved!]

In this article, I am going to show you how to solve the problem of activeworkbook refreshall (ActiveWorkbook.RefreshAll) not working in Excel. ...

How to Use Excel VBA INDEX MATCH from Another Worksheet

The topic of this Excel blog post is how to look up data from another worksheet in the same workbook using the INDEX MATCH function in VBA code. A ...

How to Use Excel VBA Text to Columns Date Format (2 Examples)

The article includes detailed step-by-step instructions on how to create a VBA macro that automates the Text to Columns process and converts text ...

Excel VBA to Format Number with Leading Zero

Have you ever noticed that when you want to add a zero in front of any number, Excel automatically discards that? So, how can we add a zero in front ...

How to Loop Through Excel Files in Folder with VBA

Often we need to do the same type of work in different workbooks. It becomes very tiresome doing the same thing again and again. In this article, we ...

Excel VBA: Work with Variable in MsgBox

In this article, we will discuss how to work with the VBA MsgBox variable. We will explain the different types of variables available in VBA and use ...

How to Filter ComboBox Data in Excel VBA

A ComboBox is a strong tool that allows users to select from a list of predefined items. However, if the list is too big, It may become difficult for ...

How to Use Target Address in Excel VBA (3 Examples)

Excel VBA Target Address refers to the location of a cell or range that caused a specific event to occur in an Excel worksheet. In this article, we ...

How to Use VBA Input Box with Buttons in Excel (2 Examples)

Input Box provides a simple way to get responses from the users. It accepts all types of data such as strings, numbers, formulas, ranges, etc. Input ...

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo