PRJ: Run-time Error w/ WindowNewWindow Macro If Window Hidden (173176)



The information in this article applies to:

  • Microsoft Project 2000
  • Microsoft Project 98 for Windows

This article was previously published under Q173176

SYMPTOMS

When you use the WindowNewWindow command in a macro, you receive the following run-time error:
Run-time error '1100'
This method is not available in this situation.

CAUSE

This error occurs if the document window is hidden.

NOTE: In Microsoft Project, you can hide a document window using the Hide command on the Window menu or through a macro.

RESOLUTION

To prevent the run-time error, open at least one file (window) before you run the macro or unhide any hidden windows by clicking Unhide on the Window menu.

Modification Type:MajorLast Reviewed:11/4/2003
Keywords:kbbug kbpending kbProgramming kbusage KB173176