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

Get Microsoft Outlook 2007 Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.