Read more about the article VBA Procedures | Definition, Types & Usage in Visual Basic
Learn about VBA procedures and the difference between Sub and Function on IranVBA

VBA Procedures | Definition, Types & Usage in Visual Basic

Procedures in VBA are a set of instructions designed to perform a specific task. The purpose of creating a procedure is to better organise code, improve readability, and enable the…

Continue ReadingVBA Procedures | Definition, Types & Usage in Visual Basic
Read more about the article Constants in VBA | Types, Scope, and How to Use Them Effectively
Master the use of constants in VBA to make your Excel code cleaner and easier to maintain.

Constants in VBA | Types, Scope, and How to Use Them Effectively

In the previous lessons, we explored variables and how to declare them in VBA. In this section, we’ll discuss the concept of a Constant and see why and how you…

Continue ReadingConstants in VBA | Types, Scope, and How to Use Them Effectively
Read more about the article Variable Scope in VBA | How to Access Variables across Different Parts of a Project
Educational cover image for the post “Variable Scope in VBA” — from IranVBA tutorials

Variable Scope in VBA | How to Access Variables across Different Parts of a Project

In the previous tutorial, we learnt how to declare variables. In this part of the free VBA training series, we’ll explore the concept of Variable Scope and how it defines…

Continue ReadingVariable Scope in VBA | How to Access Variables across Different Parts of a Project
Read more about the article VBA Modules | Types of Modules and the Difference Between a Module and a Class
Understanding the types of modules in VBA and the difference between standard and class modules

VBA Modules | Types of Modules and the Difference Between a Module and a Class

If you have ever written code in VBA, you have certainly come across the term Module. But what exactly is a module, and how does it differ from a class?…

Continue ReadingVBA Modules | Types of Modules and the Difference Between a Module and a Class