Microsoft KB Archive/113153

= PRJ: Macros and Views Missing in Default GLOBAL.MPT File =

Article ID: 113153

Article Last Modified on 1/18/2007

-

APPLIES TO


 * Microsoft Project 98 Standard Edition
 * Microsoft Project 4.1 Standard Edition
 * Microsoft Project 4.1a
 * Microsoft Project 4.0 Standard Edition
 * Microsoft Project 4.0 for Macintosh

-



This article was previously published under Q113153



SYMPTOMS
When you start Microsoft Project and the global file, GLOBAL.MPT, is missing or damaged, you receive the following error message:

Could not open GLOBAL.MPT. Microsoft Project will create a new GLOBAL.MPT that does not include any of the built-in macros that were in the original GLOBAL.MPT. For more information, press the Help button.

A default GLOBAL.MPT file is created when you exit Microsoft Project. However, this default GLOBAL.MPT file is created without some of the views and macros that it contained when you installed Microsoft Project, and you will be missing some functionality in Project.



WORKAROUND
To restore this missing functionality in Microsoft Project when you receive the above error message and the GLOBAL.MPT file is re-created, do the following:


 * 1) Exit Microsoft Project.
 * 2) Copy BACKUP.MPT to GLOBAL.MPT.
 * 3) Restart Project.

NOTE: Do not rename BACKUP.MPT. Copy it to GLOBAL.MPT so that you always have a copy available as a backup.



MORE INFORMATION
When you install Microsoft Project, Setup creates a default GLOBAL.MPT file. Setup also creates a backup of this file called BACKUP.MPT. If the GLOBAL.MPT file is deleted, Project re-creates a default GLOBAL.MPT file that is missing some of the views and the built-in macros that are available when you install Project. The following is a list of all the functionality that is missing in the default GLOBAL.MPT file:

Views
  Detail Gantt Tracking Gantt

Forms
  Date Range From Today (used with DateRangeFromToday macro)

Modules and Macros
  Database (hidden) OpenFromDatabase SaveToDatabase Auxiliary RollupFormatting SetFlagsAllTasks CreateRollupBars CreateRollupMilestones ToggleReadOnly UpdateFile ResMgmt_TaskEntry ProjectAnalyzer BatchPrinting Schedule DateRangeFromToday TaskUpdate Effort_Driven AdjustDates FormatDuration PivotTable CreatePivotTables Mail_Utilities AcceptAllUpdates

NOTE: When Microsoft Project uses a default GLOBAL.MPT file, and you choose Multiple Projects from the Tools menu and select Open From Database, the following error message appears:

Cannot find the macro 'OpenFromDatabase'

If you choose Save To Database from the same menu, the following error message appears:

Cannot find the macro 'SaveToDatabase'

