Protection method fails
Hi,
I have a problem with the following code:
mxlWorkbook.Protect Structure:=True , Windows:=True
mxlWorkbook is known, so that is not the issue. Also, when I run the DLL (where this code is put in) using Excel 2003, no error occurs. When using Excel 2000, I get a crash at the Protect statements (although Unprotect works fine).
Does this have to do with saving in Excel 2003, then using Excel 2000? If so, how do I solve this problem. And if not, what is the problem and how do it solve it then?
Thanks in advance
Max
|