Essential VBA Elements
VBA has many elements that are common to all modern programming languages, such as comments, variables, constants, data types, operators, branching and looping structures, and arrays. These will be introduced here.
Using Comments in your VBA Code
Using Variables, Constants, and Data Types
Understanding Variables
VBA's Data Types
Declaring and Scoping Variables
Working with Constants
Working with Strings
Using Assignment Statements
Other Operators
Program Control
Decision-Making (Branching)
Looping Mechanisms
Working with Arrays
Declaring Arrays
Multidimensional Arrays
Dynamic Arrays