Excel crashes when Protecting worksheets

D

dbeg1574

Excel seems to crash when I use vba code to unprotect and protect a sheet
within the workbook while excecuting a number of simple lines of code.

Has anyone noticed this, and if so, is there any way of getting around it.
Essentially when I removed the worksheet password protection from the code it
worked fine.

thanks in advance...
 
Top