title: Enabling events C# VSTO Workbook
body: <p>I have a VSTO workbook. I have a set of security measures that check the users credentials when opening the file (checks e-mail account exchange and other company security policies) which ensures that only someone within the company can open the file.</p>
  
  <p>I do this in the startup property; however, I know a simple way to get round this is to simply have another workbook open and set <code>enableevents</code> to <code>false</code> in VBA. This will stop the security check from firing. </p>
  
  <p>Is there a way to always ensure that events are active?</p>
  
  <p>I have tried checking if the events are turned on but I cannot get it to work.</p>