XL97: Incorrect Definitions Displayed in Object Browser

Last reviewed: February 27, 1998
Article ID: Q157232
The information in this article applies to:
  • Microsoft Excel 97 for Windows

SYMPTOMS

The Details Pane in the Microsoft Object Browser displays incorrect information for the following Add methods:

   Object/Method    Currently displays        Should display
   --------------   -----------------------   ----------------------------
   PivotItems.Add   Sub Add(Name as string)   Function Add(Name as String)
                                              as PivotItem

   Worksheets.Add   Sub Function([Before],    Function Add([Before],
                    [After],[Count],          [After],[Count],[Type])
                    [Type]) as Object         as Worksheet

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. The Add method for Worksheets shows that it returns an Object when it should show that it returns a Worksheet object.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

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 the F2 key or click Object Browser on the View menu to run the Object Browser.

REFERENCES

For more information about the Object Browser, click the Index tab in Microsoft Visual Basic Help, type the following text

   Object Browser

and then double-click the selected text to go to the "Use the Object Browser" topic.


Additional query words: XL97 8.00 data type
Keywords : kbprg xlvbainfo
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbdocerr


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 27, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.