- You have the Trust Center Macro settings in Excel 2010 set to: "Enable all macros (not recommended; potentially dangerous code can run)"
- You open a macro enabled workbook in Excel 2010 that opens in Protected View, for example by opening the workbook from an email message.
- The workbook has VBA code in the Workbook_Open event.
- You click the "Enable Editing" button, you may receive a run-time error or you may get unexpected results from the macro.
Microsoft does not recommend disabling "Protected View".