I'm developing a Excel 2010 Document Level Customization Application using Visual Studio 2010 SP1.
When the Macro Setting is Checked in Trust Center : Macro Settings -> Trust access to VBA project Object Model
My application works fine without any exceptions.
When the Macro Setting is unchecked in Trust Center : Macro Settings -> Trust access to VBA project Object Model
I get the following error :
This document might not function as expected because the following control is missing: Sheet1. Data that relies on this control will not be automatically displayed or updated, and other custom functionality will not be available. Contact your administrator or the author of this document for further assistance.
How to address this problem?