Hi Jon
The DoCmd transferText method passing the acExportDelim parametr will create a comma seperated file but the extension unless specified will be .txt so if you want to have the .csv extension make sure to specify it in your file name parameter. An example I used is:
DoCmd.TransferText acExportDelim, , QueryName, FileName, False
Hope this helps,
Rewdee