title: How can I open an Excel file without locking it?
body: <p>I have a process that builds an Excel report, then opens it for the user. The problem is if someone leaves the file open, it stays locked and nobody else can build the report until the first person exits the excel file.</p>
  
  <p>Is there a way to open an Excel file without locking it, using either <code>Process.Start</code> or Microsoft's <code>Interop.Excel</code> library?</p>
  
  <p>I use the Interop library to build the file each time the report is run, and save it as a static file name in a shared network folder where this application is run from</p>
  
  <pre><code>using Excel = Microsoft.Office.Interop.Excel;
  
  ...
  
  xlsBook.SaveAs(newFileName, Excel.XlFileFormat.xlWorkbookNormal);
  </code></pre>
  
  <p>And open the file using <code>Process.Start</code></p>
  
  <pre><code>Process.Start(newFileName);
  </code></pre>