title: vb.net updates Excel file
body: <p>I have a Excel file which updates itself when it is opened. By &quot;updates&quot; I mean that the Excel file is downloading the data which is stored on a list on a server.</p>
  <p>In order to always work on the most current database version, my vb.net application once opens the Excel file, saves it and closes it again. I thought that this will update my Excel-file so that all data included on the server are stored in the Excel file. Sadly this does not work. Do I miss something?</p>
  <p>My code is:</p>
  <pre><code>    Dim xls As New Excel.Application
      Dim xlwb As Excel.Workbook
      xlwb = xls.Workbooks.Open(ExcelFilePath)
      xlwb.Save()
      xlwb.Close()
  </code></pre>