title: Skip error "The document caused a serious error the last time it was opened"
body: <p>Is it possible to skip error "The document caused a serious error the last time it was opened"? I use Excel to opening Word files. I would like to prevent situation, when e.g. pc reboots while running macro, and later Word thinks there is problem with file. But I am always sure that my template files are OK (I use read-only method). Skip means selecting "Yes" with VBA to continue opening file. Setting display alerts to false is not working. Thanks!</p>
  
  <pre><code> Set wApp = CreateObject("Word.Application")
   With wApp
           .DisplayAlerts = False
           .Visible = False
           .ScreenUpdating = False
   End With
  </code></pre>
  
  <p><strong>Edit:</strong> <br>
  I just found that the only way seems to be editing registry:
  <a href="https://stackoverflow.com/questions/751048/how-to-programatically-re-enable-documents-in-the-ms-office-list-of-disabled-fil">How to programatically re-enable documents in the MS Office list of disabled files</a>
  Unfortunately I can't modify registry by macro because of IT security managment in a company.</p>