BUG: MoveDown Method Behaves Incorrectly When Word Is Hidden (235876)
The information in this article applies to:
- Microsoft Word 97 for Windows
- Microsoft Word 2000
- Microsoft Visual Basic for Applications 5.0
- Microsoft Visual Basic for Applications 6.0
This article was previously published under Q235876 SYMPTOMS
When Microsoft Word is not visible, using the MoveDown method of the Selection object does not behave as expected. This behavior might occur when MoveDown is called either from a Word macro or from another program that is automating Word.
RESOLUTION
There are two possible workarounds:
- Because the incorrect behavior occurs when Word is not visible, you can make Word visible when using the MoveDown method by setting the Application.Visible property equal to True.
- Instead of extending the current selection using the MoveDown method, explicitly select the range you want to manipulate.
STATUSMicrosoft has confirmed that this is a problem in Microsoft Word 97 and 2000.
Modification Type: | Major | Last Reviewed: | 12/12/2003 |
---|
Keywords: | kbAutomation kbbug kberrmsg kbnofix KB235876 |
---|
|