OL2002: How to Disable VBScript Code When You Open an Item (291408)



The information in this article applies to:

  • Microsoft Outlook 2002

This article was previously published under Q291408

SUMMARY

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

MORE INFORMATION

To prevent any VBScript code from running, hold down SHIFT while you open the item.

The behavior of Outlook may vary when you open an item that contains VBScript 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.

REFERENCES

For additional information about available resources and answersto commonly asked questions about Microsoft Outlook solutions, click the article number below to view the article in the Microsoft Knowledge Base:

287530 OL2002: Questions About Custom Forms and Outlook Solutions


Modification Type:MinorLast Reviewed:2/26/2004
Keywords:kbhowto KB291408