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

ID: Q213586


The information in this article applies to:
  • Microsoft Excel 2000


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 this to be a problem in the Microsoft products 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.


REFERENCES

For more information about the Object Browser, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type Use the Object Browser in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

Additional query words: data type XL2000

Keywords : kbprg kbdta KbVBA
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbbug


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