XL5: Error Using Statusbar Argument for Add Method

ID: Q136145


The information in this article applies to:
  • Microsoft Excel for Windows, versions 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:

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

Additional query words: 5.00c

Keywords : kbprg xlwin
Version : WINDOWS:5.0,5.0a
Platform : WINDOWS
Issue type :


Last Reviewed: October 19, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.