Hi all,
I'm posting here because this is potentially a VBA problem with Excel 2007. It seems that most people are unable to use .xlsm files that have password protected VBA projects in them. Or, it may be related to worksheet/workbook protection. I'm not sure.
Ron de Bruin has a nice post on a workaround on his site at http://www.rondebruin.nl/password2007.htm. Unfortunately, I can't let my students have easy access to my VBA because then they could very easily defeat my security measures, and it really isn't practical for me to ask them to do a registry tweak.
Now, the files that I recently sent out have password protected VBA, and the worksheets are all protected with a password, and the workbook is protected with a password. There is no password required to open the file and browse through it. These are returned (graded) exams, so you can understand why I need to keep these files from being copied (the VBA prevents most methods of extracting the info).
These files work perfectly fine on two of my PCs and I never applied the registry tweak that Ron mentions. Why? Microsoft also discusses this problem on this page http://support.microsoft.com/kb/927150. They seem to say (I'm not a sys admin or security guru so I'm not sure that I understand fully) if you have an anti-virus program that supports the Microsoft Antivirus API then you won't have this problem. Is that true? I use Eset NOD32 on one machine and AVG Free 7.5 on the other. Both PCs handle these files without difficulty.
So, does anybody know exactly what triggers this problem? Is it the password protected VBA? The protected worksheets? The fact that the workbook is protected for structure?
If it is the password protected VBA project, then I'm afraid I'm screwed. If it is the worksheet/workbook protection then I can work around that. I think the password protected VBA is OK because I've been able to run files with that on our campus PCs. However, a workbook password (to open) makes those files unusable on campus.
Sorry for the long post. Thanks for any insight.
Tim