title: c# how to close document inspector in excel by coding?
body: <p>My c# winform will open many .xlsx file but everytime it will show 'Be careful! Parts of your documents may include personal information that can't be removed by the Document Inspector'?</p>
  <p>I have tried the following code but useless</p>
  <pre><code>1. xxxworkbook.Application.DisplayAlerts = false;
  
  2. xxxworkbook.close(0)
  </code></pre>