XL5: Error Using Statusbar Argument for Add Method

ID: Q136145

The information in this article applies to:

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 xlwin 
Version           : 5.00
Platform          : WINDOWS

Last Reviewed: September 3, 1997