Visio 2007 or Visio 2003 and Visual Basic Editor stop responding when you open both programs

Support for Office 2003 has ended

Microsoft ended support for Office 2003 on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

This article has been archived. It is offered "as is" and will no longer be updated.
When you start Microsoft Office Visio 2007 or Microsoft Office Visio 2003 and then you start Visual Basic Editor, Visual Basic Editor may stop responding. Additionally, Visio may stop responding.
Visual Basic Editor may appear to stop responding if there is a problem with the connection to your default printer. If you try to quit Visio during this time, Visio stops responding. If you wait for the call to the printer to time out, Visio and Visual Basic Editor run correctly.

When you start Visual Basic Editor, the Properties window displays the properties of the document. Every Visual Basic for Applications (VBA) project in Visio contains a default class module that is named ThisDocument. The ThisDocument class module represents the document's properties, methods, and events that are associated with the project. Visual Basic Editor tries to call each ThisDocument property to obtain its current value. If there is a problem with the connection to the current printer, the behavior that is described in the "Symptoms" section of this article occurs.
VSO2007 VSO2003 VISIO2003

Article ID: 831066 - Last Review: 01/17/2015 16:17:46 - Revision: 2.2

Microsoft Office Visio Professional 2007, Microsoft Office Visio Standard 2007, Microsoft Office Visio Professional 2003, Microsoft Office Visio Standard 2003

  • kbnosurvey kbarchive kbstoprespond kbprb KB831066