VBA Programming
1. A Macro is a piece of code.
2. Macro are written in programming language i.e. VBA.
3. VBA => Visual Basic for Applications (Excel, Word, PowerPoint etc.).
4. VBA is editor in excel, word, PowerPoint etc. for keeping on writing macros or code
itself.
5. Differences Among VB, VBA, and VBS
a. VB = Stand alone program runs independently.
b. VBA = Part of excel program cannot work alone.
c. VBS = Variant of VB language used for internet applications.
6. Why Macros?
a. Repetitive Task --- Save Time
b. Develop new formula
c. Complex Task --- Sorting, Filtering
7. We can call Macros as Subroutines/Programs/codes.
8. VBA is an object oriented programming as in Excel everything can be considered as
objects: the features like ribbons, cells etc. Even if Excel App. itself can be considered as
an objects.
9. Object Model:
Applications (Excel,
Word etc.)
Work Book
Work Sheets
Range Chart Controls … Font