XL2000: "Cannot jump to 'Application' because it is hidden."

ID: Q213675


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


SYMPTOMS

If you select a method, object, or property in the Visual Basic Editor and then click Definition on the View menu, you may receive an error message similar to the following:

Cannot jump to 'Application' because it is hidden.
For example, you will receive this error message if you select "Application" in the following code and then click Definition on the View menu:

Sub Test()
   x = Application.Build
End Sub 


CAUSE

This error message occurs if the name you specified is marked as hidden in the type library. You cannot normally view hidden type library members. To see what items are marked as hidden, right-click the Object Browser window and then click Show Hidden Members on the shortcut menu that appears. You can then view the member information.

This problem also occurs with the following objects and properties which are not marked as hidden in the Object Browser:


   AddIns
   Application
   Assistant
   Names 


WORKAROUND

If you receive this error message, you can manually view the specific method, object, or property in the Object Browser. To do this, follow these steps:

  1. If the Object Browser is not visible, click Object Browser on the View menu.


  2. In the Classes list, select the appropriate class (for example, Application).


You can then view the members of the class in the Members pane, or view links for the method, object, or property in the bottom pane.


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

In Excel, you can use the Definition command on the View menu to take you directly to the selected method, object, or property in the Object Browser. You can also view a definition by pressing SHIFT+F2.

Additional query words: XL2000

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


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