Article ID: 112994
Article Last Modified on 1/18/2007
APPLIES TO
- Microsoft Project 2000 Standard Edition
- Microsoft Project 98 Standard Edition
- Microsoft Project 4.1 Standard Edition
- Microsoft Project 4.0 Standard Edition
- Microsoft Project 4.0 for Macintosh
This article was previously published under Q112994
SYMPTOMS
In Microsoft Project, if you use any of the following window commands while
the macro recorder is running, nothing is recorded:
Restore
Move
Size
Minimize
Maximize
Scroll
Split
NOTE: This behavior applies to the Microsoft Project application
window as well as to document windows.
WORKAROUND
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
To use any of the above commands in a macro in Microsoft Project, edit the macro and type the command instead of using the macro recorder. For example, to restore the application window, use the WindowState property of the Application object as follows:
Application.WindowState=pjNormal
To restore the document window, use the WindowState property of the
ActiveWindow object as follows:
ActiveWindow.WindowState=pjNormal
REFERENCES
For more information about the
WindowState Property, choose the
Search button in
Help and type:
Additional query words: prj2000
Keywords: kbbug kbnofix kbusage KB112994