XL5: DocErr: Referring Directly to Objects in Visual Basic

Last reviewed: September 12, 1996
Article ID: Q110895
The information in this article applies to:
  • Microsoft Excel for Windows, version 5.0

Page 191 of the "Visual Basic User s Guide," states the following:

   The following example starts Microsoft Project and sets its WindowState
   property to maximized.

      MSProject.WindowState = pjMaximized

This statement is incorrect. The example code does not start Microsoft Project, it only maximizes the application window. This statement should read:

   The following example sets the WindowState property of Microsoft Project
   to maximized.

For more information about WindowState, choose the Search button in Help and type:

    WindowState


KBCategory: kbdocerr
KBSubcategory:

Additional reference words: 5.00



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 12, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.