title: Save workbook on desired location calling Workbook.Close() function
body: <p>I am trying to save my workbook on a desired location with <code>Workbook.Close()</code>
  But the script show the error message</p>
  
  <blockquote>
    <p>Microsoft Excel cannot access the file 'D://any/location/672EF510'.<br> There are several possible reasons:<br>
    • The file name or path does not exist.<br>
    • The file is being used by another program.<br>
    • The workbook you are trying to save has the same name as a currently open workbook.
    At line:8 char:1
    + $wb.Close($true,"D:/any/location/workbook.xlsx")
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OperationStopped: (:) [], COMException
        + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException</p>
  </blockquote>
  
  <p>The code is here.</p>
  
  <pre><code>$wb.Close($true,"D:/any/location/workbook.xlsx")
  </code></pre>
  
  <p>I also tried <code>$wb.Close($true,"D://any//location//workbook.xlsx")</code></p>
  
  <p>Is there any solution? Any help is appreciated.</p>