- 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.
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.