title: How to force save and replace in vbscript
body: <p>I have been using <code>AccessMode and ConflictResolution</code> and it was fine for vba.</p>
  
  <p>In vbs</p>
  
  <pre><code>ObjWB.SaveAs myFolder &amp; "test.xlsx",  AccessMode:=xlExclusive, ConflictResolution:=Excel.XlSaveConflictResolution.xlLocalSessionChanges 
  </code></pre>
  
  <p>throws <code>expected statement error</code> for character <code>: =</code> </p>
  
  <p>How to save as and force replace in vbs ?</p>