Article ID: 209709 - Last Review: January 12, 2007 - Revision: 5.0 Windows.Count returns the value 1 in WordThis 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. REFERENCES
For more information about how to get help with Visual Basic for Applications, click the following article numbers to view the articles in the Microsoft Knowledge Base:
305326
(http://support.microsoft.com/kb/305326/
)
List of programming resources for Visual Basic for Applications
226118
(http://support.microsoft.com/kb/226118/
)
List of resources that are available to help you learn Visual Basic for Applications programming
163435
(http://support.microsoft.com/kb/163435/
)
Programming resources for Visual Basic for Applications
| Article Translations
|
Back to the top
