Microsoft Knowledge Base |
|
XL: Blank Items Not Added Automatically with AddItem Method |
|
|
Last reviewed: May 30, 1997
Article ID: Q124928 |
|
The information in this article applies to:
SUMMARYIn Microsoft Excel, the Visual Basic for Applications help file contains a documentation error in the topic for the AddItem method for drawing objects, list boxes, and drop down boxes. The AddItem help topic indicates that the Index argument for the AddItem method for drawing objects, list boxes, and drop down boxes will specify the position at which to add the new entry. The help file incorrectly documents that if the list has fewer entries than the specified index, blank items are added from the end of the list to the specified position. If you attempt the AddItem method with an Index that exceeds the count of the items in the list or drop down box, the item will always be added to the end of the list (blank items are not added).
MORE INFORMATIONTo locate the help topic containing the error in Microsoft Excel 5.0:
|
|
Additional query words: 5.00 5.00c VBA_XL.HLP 7.00 97 XL97 XL5 XL7
©1997 Microsoft Corporation. All rights reserved. Legal Notices. |