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:eek:ffice:eek:ffice" /><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

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Forum statistics

Threads
1,214,918
Messages
6,122,255
Members
449,075
Latest member
staticfluids

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