Microsoft KB Archive/136145

= XL5: Error Using Statusbar Argument for Add Method =

Article ID: 136145

Article Last Modified on 10/11/2006

-

APPLIES TO


 * Microsoft Excel 5.0a

-



This article was previously published under Q136145



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:

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

Additional query words: 5.00c

Keywords: kbprogramming KB136145

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.