Creating Scripts

To create a script to run behind your form, open the form in design mode. Select Form, View Code to display the Script Editor, shown in Figure 32.27. The Script Editor is really nothing more than a slightly enhanced Notepad application, but you can still write very powerful scripts behind Outlook forms.

Figure 32.27. The Script Editor is not much more than a Notepad application with custom menus.

Proper Syntax

There are a few things to know before you start writing scripts behind Outlook forms. First, you must know a little about how scripting works. In Outlook, all script should be contained inside wrappers. These wrappers can ...

Get Special Edition Using® Microsoft® Office Outlook® 2003 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.