The information in this article applies to:
SUMMARYWhen you use the Microsoft Word for Windows WordBasic DocMove and DocSize commands, make sure the document window is not maximized. If the document window is maximized when the DocMove or DocSize commands are called from a WordBasic macro, you will receive the following error message: The DocSize and DocMove commands require the Word for Windows document window to be in a restored state. The following macro checks to see if the document window is maximized and changes it to a restored state:
MORE INFORMATIONTo restore the document window before using the DocSize and DocMove commands, use one of the following statements:
-or-
Adding one of the above statements before the DocSize and DocMove
commands will allow the document window to be sized and moved
regardless of whether the window is maximized.
Note: Microsoft provides macros "as is" without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. REFERENCES
"Using WordBasic," by WexTech Systems and Microsoft, page 176
Additional query words: winword2 size move 509 1.0 1.10a word7 word6 winword 7.0 word95 2.0 6.0
Keywords : |
Last Reviewed: December 23, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |