VBA Properties Password, file will not save

Troutwater

New Member
Joined
May 1, 2008
Messages
17
Microsoft Excel 2000 and Microsoft Visual Basic 6.5
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>
I have a situation with a single file that is not repeated with other similar files. I have written multiple modules of VBA macros and am being required to password protect the code. I put the password in the Visual Basic Editor’s Tools menu under VBAProject Properties on the Protection tab and click the “Lock Project for Viewing”. I get an error message when trying to save the file.
<o:p> </o:p>
You cannot save to this file format when the VBA project is protected.<o:p></o:p>
<o:p> </o:p>
You may unprotect the VBA project by choosing the Properties command on the Visual Basic Editor’s Tools menu, and entering the password for the active project.

<o:p></o:p>

I have another file written in the same time and software version numbers that does not generate this error message.
<o:p> </o:p>
What can I do to resolve this issue?
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,223,243
Messages
6,170,964
Members
452,371
Latest member
Frana

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top