title: Excel template: import CSV in batch mode
body: <p>I need to create a template (MS Excel) for importing CSV data (error log) in Excel.   </p>
  
  <ol>
  <li><p>I have set the conditional formatting that if a call value is greater than 0, the cell color must automatically change to RED  while for value=0, the cell color must be green.     </p></li>
  <li><p>I saved the file as Excel template. </p></li>
  <li><p>Now I want to import CSV data into a new XLSX document created from the template above (with conditional formatting), in batch-mode, and safe the result automatically.</p></li>
  </ol>
  
  <p>I am using following command:    </p>
  
  <p><code>"C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE" /e "C:\Work\errors.log" /t "C:\Work\ABFTest.xltx"</code></p>
  
  <p>Instead of loading the data into a new Excel document created from ABFTest.xltx template, the command open two Excel files, one containing the CSV data, and other file created from the template.</p>
  
  <p>Is there any solution to this problem? </p>