Visio2002: Visio Quits Unexpectedly When You Use 1/1 10:00:00 Time/Date Format in ShapeSheet or VBA Macro (294097)



The information in this article applies to:

  • Microsoft Visio 2002 Standard
  • Microsoft Visio 2002 Professional

This article was previously published under Q294097
For a Microsoft Visio 2000 version of this article, see 299651.

SYMPTOMS

When you type a specific date in a ShapeSheet formula or a Microsoft Visual Basic for Applications (VBA) macro, Microsoft Visio may quit unexpectedly (crash).

CAUSE

This behavior occurs when you use the following date or time format in a VBA macro:

#1/1 10:10:10#

For example, the following code causes Visio or any other Microsoft Office program to quit unexpectedly:
Sub Test()
    Dim X
    X = #1/1 10:10:10#
End Sub
				

STATUS

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

Modification Type:MinorLast Reviewed:10/11/2006
Keywords:kbbug kbnofix KB294097