Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

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

share|improve this answer
    
Thanks for the suggestion, but the location was not actually read only. –  LJ Jul 22 '09 at 23:04
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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.