Chapter 8. Code Grammar 101
So far, your excursion into Outlook programming code has been a lot like beginning language lessons. Most of the initial work in learning a language is oral and repetitive: You work with a teacher or tape, memorizing phrases and repeating them. Sooner or later, though, you must learn more about the structure of a language; you must study grammar. Welcome to “Code Grammar 101,” the chapter that reviews the basic syntax of VBA and VBScript, including the most important functions built into VBA and VBScript and many custom functions that are ready to add to your own Outlook project.
Highlights of this chapter include discussions of the following:
How to write reusable subroutines and functions for both VBScript and VBA