title: Programatically bringing up Excel's "Trust Center Settings" dialog
body: <p>I need users to click the "Trust access to the VBA project object model" so that an app I'm building can help them import code to the VBE. </p>
  
  <p>I could display a messagebox or provide documentation telling them how to change setting (and warning about repercussions if they do). But that setting is still buried 5 clicks down in the Excel UI...in fact even I have trouble remembering where to find it.</p>
  
  <p>So what I'd like to do is programmatically open that window for them.</p>
  
  <p>I could probably use the notoriously fickle SendKeys method, but I wonder if there is a better way...</p>
  
  <p>(I see that you can actually <em>set</em> access to the VBA project object model for users via a macro by using a VBS script to change the key's value when the target Office application is not running them as per <a href="http://blogs.msdn.com/b/cristib/archive/2012/02/29/vba-programmatically-enable-access-to-the-vba-object-model-using-macros.aspx" rel="nofollow">this MSDN article</a> but I would much prefer that the user manually enables this option or elects not to). </p>
  
  <p>Edit: VBA <strong>or</strong> VSTO solutions are fine, or anything else you can think of.</p>