I see the problem. I would do the scripting solution. If you are sending out the results from a query, for example, you could do this, based on the NorthWind database and assuming that you are overwriting any earlier files with the same name:
'======Code Starts=======
Dim fso As Variant
Dim objFile As Variant
Dim sFile As String
Dim sLine As String
Dim rs As ADODB.Recordset
Dim sSQL As String
sFile = "C:\Documents And Settings\All Users\Desktop\MySampleFile.csv"
Set fso = CreateObject("Scripting.FileSystemObject")
Set objFile = fso.CreateTextFile(sFile)
'Write first line with Column Names
sLine = "Product ID" & ", " & "Product Name"
objFile.WriteLine(sLine)
sSQL = "SELECT * FROM Current Product List"
Set rs = New ADODB.Recordset
rs.Open sSQL, CurrentProject.Connection, adOpenDynamic, adLockOptimistic
Do Until rs.EOF
sLine = rs("Product ID") & ", " & rs("Product Name")
objFile.WriteLine(sFile)
rs.MoveNext
Loop
objFile.Close
'=======Code Ends=======
This will allow you to control all the characters in the strings that are being written.
This would work, but I do ADO exclusively, and Northwind doesn't, but you should get the idea.
Did that help?
mmcdonal
Look it up at:
http://wrox.books24x7.com