PRJ4: Module Unhidden After Entering Name in Module Box

Q128697


The information in this article applies to:


SYMPTOMS

In Microsoft Project, when you hide a module, if you then enter the module name in the Module box on the Visual Basic toolbar, the module name appears in the Module box and the module is unhidden, although the text in the module does not appear on the screen. The Module Editor displays either the text of the active module, or an empty module (if there are no visible modules in either the project OR in the global template).


CAUSE

If the hidden module is stored in the project, this behavior occurs only if there are no other visible modules in the project. If the hidden module is stored in GLOBAL.MPT or the Global Template file (on the Macintosh), this behavior only occurs if there are no other visible modules in the global template. Under either of these conditions, the hidden module is unhidden when you enter the module name in the Module box, though the module does not appear in the Module Editor.

You can use the Module box to select a visible module, either by selecting the module name from the list of visible modules, or by entering the module name in the Module box and pressing ENTER. However, you cannot select a hidden module by entering the module name in the Module box. Note that when this problem occurs, the Unhide Module dialog box appears briefly when you enter the name of a hidden module in the Module Box. If the module was hidden using a password, the Password dialog box also appears asking you to enter the password.

NOTE: If the project or global template contains a visible module, when you enter the name of a hidden module in the Module box, you do not receive an error message indicating that the module is not available. The module name appears in the Module box; however, the module is not unhidden in this case.


WORKAROUND

To work around this problem, use the following steps to unhide a module:

  1. From the Edit menu, choose Module, and then choose Unhide Module.


  2. From the Module list, select the module that you want to unhide, and click Unhide.


If you have encountered the problem described above, where the module is unhidden, but not displayed in the Module Editor, do the following to display the module:

  1. From the View menu, choose Calendar (or any other view on the View menu).


  2. From the Tools menu, choose Macros.


  3. From the Macro Name list, select a macro contained in the module that you want to display, and click Edit.



STATUS

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


REFERENCES

For more information about the Visual Basic Toolbar, choose the Search button in Help and type:

Visual Basic toolbar

Additional query words:

Keywords : kbusage
Issue type : kbbug
Technology : kbHWMAC kbOSMAC kbProjectSearch kbProject400Mac kbProjectMacSearch kbProject400


Last Reviewed: November 5, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.