Microsoft KB Archive/114595

= PRJ: How to Import Microsoft Project 3.0 Macros =

Article ID: 114595

Article Last Modified on 1/18/2007

-

APPLIES TO


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

-



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.


 * 1) Repeat steps 3 and 4 for any other macros you want to import.
 * 2) 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

Additional query words: 3.0 4.0

Keywords: kbhowto KB114595

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.