title: Add excel macro from service account
body: <p>Currently I try to write a service (run by system account) that creates macro in an Excel workbook.  It seems that I can open excel, create a new workbook, add data and markup to it, but when I try to add a macro to the excel, I get a security message:</p>
  
  <p>"Programmatic access to Visual Basic Project is not trusted"</p>
  
  <p>I do have "Trust access to vba project object medal" turned on.  However, is it possible that this setting is user-dependent instead of machine dependent?  Is there a way to let my C# service have access to the macros of the excel workbooks it creates (at time of creation...)</p>
  
  <p>thanx!!!</p>
  
  <p>Best regards,</p>
  
  <p>Jan</p>