The Microsoft Script Editor allows you to add VBScript procedures that respond to events generated by items or form controls.
To open the Script Editor
The Script Editor makes it easy to insert the template for an item event handler.
To insert a blank item event handler
The Script Editor can move the insertion point to a specific line of code. This makes it easy to debug the script when Microsoft Outlook reports an error at a specific location.
To move to a specific line
Learn about the Script Debugger.
Learn about the Outlook object browser.