Microsoft KB Archive/209709

= Windows.Count returns the value 1 in Word =

Article ID: 209709

Article Last Modified on 1/12/2007

-

APPLIES TO


 * Microsoft Office Word 2007
 * Microsoft Office Word 2003
 * Microsoft Word 2002 Standard Edition
 * Microsoft Word 2000 Standard Edition

-



This article was previously published under Q209709



SYMPTOMS
When you use the Visual Basic for Applications Windows.Count command while the Print Preview window is displayed, the value that is returned is 1. In Microsoft Office 97, the count that is returned is 2.



CAUSE
This behavior is by design. In Word 97, the Print Preview window is used with Multiple Document Interface (MDI). In Microsoft Word 2000 and later, Single Document Interface (SDI) replaces the use of MDI.

