Anita
The problem of slow opening a (large) workbook is indeed happening when this workbook and its worksheets are protected programmatically (VBA code), but not when the protection was made manually I noticed.
Already I wrote this in my post of February 5, 2013 above:
"In 'ThisWorkbook', 'Workbook_Open' event, I had a reference to a module 'ProtectWorksheets' which password protects all sheets and the workbook itself when loading the workbook.
I have 'commented out' this reference and now the file is loading normally.
Of course the question remains why that reference to 'ProtectWorksheets' didn't cause any problem in Excel 2007 nor in Excel 2010."
So the problem of the slow opening seems indeed to be caused by the protection made programmatically, because when I eliminate the programmatic protection, the Workbook opens within a normal time and even when I had protected worksheets manually.
For my Workbook with 16 worksheets (protected programmatically) it takes 10 seconds after the splash screen before the first worksheet becomes available. During those 10 seconds nothing can be done (frozen) except wait until it becomes available. The little
"circle" (hour glass) keeps turning and turning. As to me I think the program is just busy executing the VBA code to protect the 16 worksheets or something like that. In former versions of Office this did not happen. Notice that during those 10 seconds the
Workbook is opened in Excel on the first worksheet, but nothing can be done.
Best regards
Jacques