Microsoft KB Archive/236520

= MOD2000: Prompts to Save Project When Closing, Adding to Visual SourceSafe, or Running Package and Deployment Wizard =

Article ID: 236520

Article Last Modified on 8/6/2002

-

APPLIES TO


 * Microsoft Office 2000 Developer Edition

-



This article was previously published under Q236520



Moderate: Requires basic macro, coding, and interoperability skills.



SYMPTOMS
When you close a project or the program that you started the Visual Basic Editor from, you may receive the following message:

Project  has been modified. Do you wish to save the changes now?

-or-

When you start the "Package and Deployment" Wizard, you receive the following message:

The active project must be saved before it can be packaged and deployed.

-or-

When you try to add a project to Visual SourceSafe, you receive the following message:

Please save your Project, ' ', before using source code control.

You see one of these messages even though you have not made any changes since you last saved the project.



CAUSE
You see one of the messages listed in the "Symptoms" section if you have not saved the project since you closed an Addin Class window, a Data Report window, or a Data Environment window, or if you still have one of those windows open.



RESOLUTION
To prevent the messages listed in the "Symptoms" section, close the Addin Class window, the Data Report window, or the Data Environment window, and then save your project. You can then close the project or program, add to Visual SourceSafe, or run the "Package and Deployment" Wizard without seeing these messages.



Steps to Reproduce Behavior

 * 1) Start Microsoft Excel.
 * 2) On the Tools menu, point to Macro, and then click Visual Basic Editor.
 * 3) On the File menu, click New Project.
 * 4) In the New Project dialog box, click Empty Project, and then click OK.
 * 5) On the Insert menu, click Components.
 * 6) In the Components dialog box, click the Designers tab. Click to select Addin Class check box, and then click OK.
 * 7) On the Insert menu, click Addin Class.
 * 8) On the File menu, click Save  .
 * 9) In the Save Project As dialog box, click Save.
 * 10) On the File menu, click Close Project. Note that you are prompted to save the project even though you have not made any changes since the last save.

Additional query words: prb

Keywords: kbprb KB236520

-

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

© Microsoft Corporation. All rights reserved.