ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   export CSV file with semicolon (https://www.excelbanter.com/excel-programming/366631-export-csv-file-semicolon.html)

bawahoo[_6_]

export CSV file with semicolon
 

How can I export a CSV file with semicolon as the delimiter. By defaul
it sets it to a comma. I do not want the comma. Thanks in advance fo
you help.

ActiveWorkbook.SaveAs Filename:="C:\test.csv"
FileFormat:=xlCSV, _
Password:="", WriteResPassword:="", ReadOnlyRecommended:=False
_
CreateBackup:=Fals

--
bawaho
-----------------------------------------------------------------------
bawahoo's Profile: http://www.excelforum.com/member.php...fo&userid=1510
View this thread: http://www.excelforum.com/showthread.php?threadid=55949


Tom Ogilvy

export CSV file with semicolon
 
Chip Pearson's site:
http://www.cpearson.com/excel/imptext.htm import/export text files

Allows you to specify the delimiter.

--
Regards,
Tom Ogilvy


"bawahoo" wrote:


How can I export a CSV file with semicolon as the delimiter. By default
it sets it to a comma. I do not want the comma. Thanks in advance for
you help.

ActiveWorkbook.SaveAs Filename:="C:\test.csv",
FileFormat:=xlCSV, _
Password:="", WriteResPassword:="", ReadOnlyRecommended:=False,
_
CreateBackup:=False


--
bawahoo
------------------------------------------------------------------------
bawahoo's Profile: http://www.excelforum.com/member.php...o&userid=15102
View this thread: http://www.excelforum.com/showthread...hreadid=559494



bawahoo[_7_]

export CSV file with semicolon
 

Thanks for the post.

I tried and it does not work. I am using the SAVEAS and not the
Export.

ActiveWorkbook.SaveAs Filename:="T:\prowin2\AGENCY LONG TERM
PMT PLANS-PSI\HOSP\2006\REFERRAL\PSIHREF_" & Format(Now, "MMDDYY") &
".csv", FileFormat:=xlCSV, _
Password:="", WriteResPassword:="", ReadOnlyRecommended:=False,
_
CreateBackup:=False

Any other suggestions?


--
bawahoo
------------------------------------------------------------------------
bawahoo's Profile: http://www.excelforum.com/member.php...o&userid=15102
View this thread: http://www.excelforum.com/showthread...hreadid=559494



All times are GMT +1. The time now is 07:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com