Software⏱️ 3 min read📅 2026-06-15

How to Fix: Error when attempting to save Outlook VBA project

Error when attempting to save Outlook VBA project. Possible causes include insufficient hard disk space or the project file being read-only.

Quick Answer: Check if the project file is set as read-only and ensure sufficient free space on the hard drive.

Error saving Outlook VBA projects can be frustrating, especially when working on complex projects. This error message typically occurs when attempting to save an Outlook VBA project and receiving a 'The save failed' error with insufficient hard disk space or read-only project file.

Resolving this issue requires patience and persistence. In this guide, we will walk you through the steps to troubleshoot and fix this error.

🛑 Root Causes of the Error

  • The primary cause of this error is a locked or restricted project file. This can occur when the project properties are set to 'Lock project for viewing', preventing changes to the file.
  • Another possible reason for this error is a lack of available disk space, although this is unlikely given that you have mentioned hard disk space is not an issue.

🛠️ Step-by-Step Verified Fixes

Unlocking Project Properties

  1. Step 1: Step 1: Open the project properties by right-clicking on the VBA project in the Visual Basic Editor and selecting 'Properties'.
  2. Step 2: Step 2: In the Project Properties dialog box, go to the 'Security' tab and ensure that the 'Lock project for viewing' checkbox is not selected.
  3. Step 3: Step 3: Click 'OK' to close the Project Properties dialog box. This should unlock the project file and allow you to save it.

Checking Disk Space

  1. Step 1: Step 1: Open File Explorer and navigate to the location where your Outlook VBA project is stored.
  2. Step 2: Step 2: Check the available disk space by right-clicking on the folder and selecting 'Properties', then looking for the 'Available' or 'Free' space displayed.

💡 Conclusion

By following these steps, you should be able to resolve the error when attempting to save Outlook VBA projects. If you continue to encounter issues, it may be worth considering reinstalling the Microsoft Office suite or seeking further assistance from a qualified IT professional.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions