Microsoft KB Archive/213586

= XL2000: Incorrect Definitions for Add Methods Are Displayed in the Object Browser =

Article ID: 213586

Article Last Modified on 10/11/2006

-

APPLIES TO


 * Microsoft Excel 2000 Standard Edition

-



This article was previously published under Q213586





SYMPTOMS
The Details (bottom) pane in the Microsoft Object Browser displays incorrect information for the PivotItems Add method and the Worksheets Add method.

The Add method for the PivotItems class is listed as a Sub when it should be listed as a function that returns a PivotItem object. "Sub Add(Name As String)" should read "Function Add(Name As String) as PivotItem".

The Add method for Worksheets class shows that it returns an Object when it should show that it returns a Worksheet object. "Function Add....As Object" should read "Function Add....As Worksheet".



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
You can use the Object Browser in Microsoft Visual Basic for Applications to search for a particular class, object, property, method, constant, or event. You can search project files you created or project files from other libraries. When you are in the Visual Basic Editor, press F2 or click Object Browser on the View menu to run the Object Browser.

