When attempting to save an Outlook VBA project I receive the error:

The save failed. This could be because there was not enough hard disk space, or the project file is read-only.

Hard disk space is certainly not a problem and the project is not marked "Lock project for viewing" on the project properties tab. Does anyone have an idea of what might be causing this error and what I can do to resolve it?

link|improve this question
feedback

2 Answers

up vote 0 down vote accepted

By looking at this site I was able to find the location where the Outlook VBA project data is stored:

Outlook 2007 File Locations

I saw that there was already a project file (VbaProject.otm) in the directory despite the fact that none of the project contents were showing in Outlook. (Perhaps the file was corrupt.) I deleted the bad file and re-imported my macro code from a backup. I was then able to save the VBA project without any trouble.

link|improve this answer
feedback

Can you check where you are saving the project to? Perhaps that location is set for read-only, or you might not have access to it?

-JFV

link|improve this answer
Thanks for the suggestion, but the location was not actually read only. – LJ Jul 22 '09 at 23:04
feedback

Your Answer

 
or
required, but never shown