PRJ: How to Import Microsoft Project 3.0 Macros (114595)



The information in this article applies to:

  • Microsoft Project 98 for Windows
  • Microsoft Project for Windows 95 4.1
  • Microsoft Project for Windows 3.0
  • Microsoft Project for Windows 3.0a
  • Microsoft Project for Windows 4.0
  • Microsoft Project for the Macintosh 3.0
  • Microsoft Project for the Macintosh 4.0

This article was previously published under Q114595

SUMMARY

In Microsoft Project version 4.0 and later, macro information can be stored in either the individual project file or in the GLOBAL.MPT file. The macro definitions for Microsoft Project version 3.0 are contained in a view file. This article describes how to import macros from Microsoft Project 3.0.

To Import Macros

  1. On the File menu, click Open.
  2. Select the view file you want to import and click OK or Open.
  3. On the Tools menu, point to Macro, and then click Macros. (The macros from the imported view file will be added to the existing list of macros.)
  4. In the Macro list, select the macro you want to import, and click Edit.NOTE: The macro will automatically be converted to a Visual Basic for Applications procedure. The earlier version of the code will be commented with semicolons.

  5. Repeat steps 3 and 4 for any other macros you want to import.
  6. On the File menu, click Close, and then click No.NOTE: You may need to modify the Visual Basic for Applications code after you convert your macro. For example, if the old macro contained the SendKeys command, you will need to modify the converted macro.
For additional information, please see the following article in the Microsoft Knowledge Base:

170714 PRJ: Toolbar Button Not Upgraded If Assigned to SendKeys


Modification Type:MajorLast Reviewed:11/25/2003
Keywords:kbhowto KB114595