title: Prevent Pop Up message by opening Excel
body: <p>Task scheduler opens an Excel application. Sometimes appears at starting the excel instance a window in saying <strong><em>"The last time you opened " ...name of the file...", it caused a serious error. Do you still want to open it?"</em></strong>  I need to click on YES manually. After that excel runs normally. I found this has to deal with the  registry in this link: <a href="https://www.utteraccess.com/forum/index.php?showtopic=2045211" rel="nofollow noreferrer">https://www.utteraccess.com/forum/index.php?showtopic=2045211</a>. </p>
  
  <p>How to "clear" or change the registry before launching Excel to prevent an appearing the pop-up window? (vbs, cmd)Thanks 
  <a href="https://i.stack.imgur.com/Y8ZGr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Y8ZGr.png" alt="enter image description here"></a></p>