XL5: Error Using Statusbar Argument for Add Method

Last reviewed: September 2, 1997
Article ID: Q136145
The information in this article applies to:
  • Microsoft Excel for Windows, version 5.0, 5.0a

SYMPTOMS

In Microsoft Excel version 5.0, if the StatusBar argument of the Add method is used, you will receive the following error message:

   428 Object doesn't support this property or method

CAUSE

In Microsoft Excel version 5.0c, new arguments were added to Add method of the Toolbar buttons collection. Versions earlier than 5.0c do not contain these arguments. Therefore, if you are using Visual Basic code in an earlier version of Microsoft Excel than version 5.0c, these new arguments will fail.

WORKAROUND

To work around this problem, run the macro in version 5.0c or disable the StatusBar argument.

MORE INFORMATION

For more information on working with StatusBar text, query on the following article in the Microsoft Knowledge Base:

   ARTICLE ID: Q112632
   TITLE: XL5: Setting Status Bar Text and ToolTips for Toolbar Buttons


Additional query words: 5.00c
Keywords : kbprg PgmOthr xlwin kbcode
Version : 5.00
Platform : WINDOWS


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 2, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.