This documentation is archived and is not being maintained.

Creating Custom Forms by Using Visual Basic Scripting Edition

Office 2007

Microsoft Visual Basic Scripting Edition (VBScript) is a subset of Microsoft Visual Basic for Applications (VBA). You can use VBScript to create procedures that control Microsoft Office Outlook folders, objects, items, and properties. VBScript in Outlook requires a special object syntax that is different from referencing objects in VBA.

Learn about the Outlook object model.

You can choose the Outlook item on which to base your custom form. Learn about choosing an item.

You can extend Outlook forms by using custom controls from the Control Toolbox. Outlook forms can use most of the properties and methods that come with the controls. Since controls cannot store values, to store the value you need to bind the control to an Outlook field.

Learn about binding.

The Outlook object browser displays the classes, properties, methods, events, and constants available from the Outlook object library. The object browser lets you view and use objects in the Microsoft Script Editor and obtain information about the syntax for using the object.

Learn about viewing and using the object browser.

The Microsoft Script Debugger provides you with a comprehensive debugging environment for testing and correcting errors in the VBScript code for your forms.

Learn about the Script Debugger.