VBA Programming
VBA Programming
EXCEL VBA
ENGR. FRAMCES THEA DE MESA, PECE
VISUAL BASIC ENVIRONMENT
To go to Visual Basic Environment:
1. Check if the Developer tab is activated.
Menus Debug and Run are used for debugging and running the
program respectively.
ELEMENTS OF VISUAL BASIC
ENVIRONMENT
TOOL BAR
- use for common actions like saving, undo and redo actions, play, stop etc.
Click Run.
PROGRAM DEVELOPMENT
An apostrophe (‘) means that information following it is a comment, i.e.,
a character set, which does not influence the program execution.
A. Arithmetic Operators
VBA Operators
B. Comparison Operators
VBA Operators
C. Logical Operators
VBA Operators
C. Concatenation Operators
For…Next cycle