+ Reply to Thread
Results 1 to 9 of 9

convert cvs to xls - Semicolon delimited

  1. #1
    Registered User
    Join Date
    11-15-2012
    Location
    N/A
    MS-Off Ver
    Excel 2010
    Posts
    32

    convert cvs to xls - Semicolon delimited

    Everyday some csv files are generated under linux.
    Now everyday the files should be converted to xls.

    I have found a code:

    Please Login or Register  to view this content.
    seems it doesnt work by semicolon. as all goest into 1 cell.

    is there anyone who can help me?
    Last edited by arlu1201; 12-15-2012 at 01:18 AM.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,645
    As far as I can see you don't specify ; as the delimiter anywhere in the code.
    If posting code please use code tags, see here.

  3. #3
    Valued Forum Contributor
    Join Date
    08-13-2012
    Location
    Gardony, Hungary
    MS-Off Ver
    Excel 2003
    Posts
    558

    Re: convert cvs to xls - Semicolon delimited

    .csv can be opened by excel and displays as table, so why convert?

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,645
    In your title you seemed say the delimiter was a semi colon not comma.

    Is that not the case?

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: convert cvs to xls - Semicolon delimited

    Welcome to the forum.

    I have added code tags to your post. As per forum rule 3, you need to use them whenever you put any code in your post. Please add them in future. If you need more information on how to use them, check my signature below this post.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  6. #6
    Registered User
    Join Date
    11-15-2012
    Location
    N/A
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: convert cvs to xls - Semicolon delimited

    Quote Originally Posted by Norie View Post
    As far as I can see you don't specify ; as the delimiter anywhere in the code.
    2 tell the truth, I just chaned: Semicolon:=True and all other things False. I dont know what else should be changed. I am NULL in VBA Programming.

  7. #7
    Registered User
    Join Date
    11-15-2012
    Location
    N/A
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: convert cvs to xls - Semicolon delimited

    Quote Originally Posted by RHCPgergo View Post
    .csv can be opened by excel and displays as table, so why convert?
    I know they can be opened in excel, but as I have seen I couldnt save any diagram in it. I want to change that code in a way that all my csv which are generated everyday can be changed to xls so that I can make a change in it.

  8. #8
    Registered User
    Join Date
    11-15-2012
    Location
    N/A
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: convert cvs to xls - Semicolon delimited

    Quote Originally Posted by arlu1201 View Post
    Welcome to the forum.

    I have added code tags to your post. As per forum rule 3, you need to use them whenever you put any code in your post. Please add them in future. If you need more information on how to use them, check my signature below this post.
    Thanks. Next time I pay more attention.

  9. #9
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: convert cvs to xls - Semicolon delimited

    Please Login or Register  to view this content.
    that bit run on its own works fine
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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