title: 0x800a03ec {SaveAs method of Workbook class failed} error in TCOM/TCL
body: <p>I'm trying to write some data from TCL to a CSV file, but i get the   0x800a03ec {SaveAs method of Workbook class failed} when executing it. Any idea why this is happening?                   </p>
  
  <pre><code>set application [::tcom::ref createobject "Excel.Application"]
  $application Visible 1
  
  set workbooks [$application Workbooks]
  set workbook [$workbooks Add]
  set worksheets [$workbook Worksheets]
  set worksheet [$worksheets Item [expr 1]]
  #set worksheet [$worksheets Item "Sheet1"]
  set cells [$worksheet Cells]
  
  set rows [array size atten]
  for {set row 1} {$row &lt;= $rows} {incr row} {
      $cells Item $row "B" $atten($row)
  }
  
  $workbook SaveAs Filename {c:\tst.csv}
  $application Quit
  </code></pre>