title: TransferText export to CSV not working, but TransferSpreadsheet to XLSX working
body: <p>I created a Form in which I created a button and through the context menu I activated the Code-generator for VBA.
  On a click on the button, the query is correctly exported as .xlsx:</p>
  
  <pre><code>Option Compare Database
  
  Private Sub Befehl0_Click()
  
              DoCmd.TransferSpreadsheet acExport, , "queryname", "C:\test\queryname.xlsx", -1
  
  End Sub
  </code></pre>
  
  <p>However, when I modify the export (according to this <a href="http://msdn.microsoft.com/en-us/library/office/ff835958(v=office.15).aspx" rel="nofollow">FAQ</a>):</p>
  
  <pre><code>Option Compare Database
  
  Private Sub Befehl0_Click()
  
              DoCmd.TransferText acExportDelim, , "queryname", "C:\test\queryname.csv", -1
  
  End Sub
  </code></pre>
  
  <p>Nothing happens.</p>
  
  <p>I've also tried setting an Export Specification, but that doesn't help either.</p>
  
  <p>What is wrong here?</p>