Microsoft KB Archive/299651

= Visio2000: Visio Quits Unexpectedly When You Use 1/1 10:00:00 Time/Date Format in ShapeSheet or VBA Macro =

Article ID: 299651

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Visio 2000 Standard Edition
 * Microsoft Visio 2000 Professional Edition
 * Microsoft Visio 2000 Technical Edition
 * Microsoft Visio 2000 Enterprise Edition

-



This article was previously published under Q299651



For a Microsoft Visio 2002 version of this article, see 294097.



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/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.

Additional query words: prb vb vba vbe hang

Keywords: kbbug kbdtacode kbnofix KB299651

-

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

© Microsoft Corporation. All rights reserved.