You receive a "Macros in this document are disabled because the security level is high" error message when you try to open a stencil that does not contain macros (828965)



The information in this article applies to:

  • Microsoft Office Visio Professional 2003
  • Microsoft Office Visio Standard 2003

SYMPTOMS

When you open a Microsoft Office Visio 2003 stencil, you may receive the following message: Macros in this document are disabled because the security level is high, and the macros have not been digitally signed or verified as safe. To run the macros, you can either have them signed or change your security level. However, the stencil that you are trying to open does not contain macros.

CAUSE

This problem occurs because the stencil that you are trying to open was created in Microsoft Visio 2002, and contains an empty Microsoft Visual Basic for Applications (VBA) project that may have been created automatically in your stencil when the Visual Basic Editor was started.

WORKAROUND

To work around this problem, save the stencil in the Visio 2003 format. To do this, follow these steps:
  1. Click the stencil that you want to save to make it the active window.
  2. On the File menu, click Save As.
  3. In the Save As dialog box, click Save.

    Click Yes to confirm that you want to replace the existing file.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

In Visio 2002, empty VBA projects were not removed. When you reopen the stencil in Visio 2002, the empty project is detected but no warning appears. In Visio 2003, empty projects are not saved, and the macro warning appears when any VBA project is detected, to help make Visio more secure.

Modification Type:MinorLast Reviewed:1/12/2006
Keywords:kbprb KB828965 kbAudDeveloper kbAudEndUser