title: How to save xlsx file in vbs?
body: <p>I open a csv file and need to save it as xlsx </p>
  
  <pre><code>set objExcel = createObject("Excel.Application")
  objExcel.visible = True 
  set objWb = objExcel.Workbooks.Open("C:\Users\xxx\test.csv") 
  msgbox "make sure data is ok" 'Here I can see all data was read properly, now I need to save it 
  objWb.saveas "C:\Users\xxx\test.xlsx" 
  </code></pre>
  
  <p>All saves, but the file is corrupted, I cannot open it. When I change to <code>.xls</code> then it works but the data is not read correctly. I need <code>xlsx</code> . How can I save it. So, how to convert <code>.csv</code> to <code>xlsx</code> ? </p>