Microsoft KB Archive/180984

= OL98: How to Disable VBScript Code When You Open an Outlook Item =

Article ID: 180984

Article Last Modified on 7/30/2001

-

APPLIES TO


 * Microsoft Outlook 98 Standard Edition

-



This article was previously published under Q180984





SUMMARY
Programmers can store Visual Basic Scripting Edition (VBScript) code in a Microsoft Outlook item and configure the code to automatically run when you open the item. This article describes how to open an Outlook item without running any VBScript code.



MORE INFORMATION
The behavior of Outlook may vary when you open an item that contains Visual Basic Scripting Edition code:


 * If you open an item that contains VBScript code which is not published in a forms library, you receive a prompt to either enable or disable the code from running.
 * If you open an item that contains VBScript code which is published in a forms library, you do not receive a prompt to disable the code from running.

To prevent any VBScript code from running, hold down SHIFT while you open the item. For example, hold down SHIFT while you open an item to prevent the Visual Basic Script code for the Open event from running.

Keywords: kbhowto kbsecurity KB180984

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.