+ Reply to Thread
Results 1 to 3 of 3

export CSV file with semicolon

  1. #1
    Registered User
    Join Date
    10-07-2004
    Posts
    7

    export CSV file with semicolon

    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

  2. #2
    Tom Ogilvy
    Guest

    RE: 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
    >
    >


  3. #3
    Registered User
    Join Date
    10-07-2004
    Posts
    7
    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?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1