+ Reply to Thread
Results 1 to 3 of 3

Macro to import text file. Numbers seperated by ; -> different columns

  1. #1
    Registered User
    Join Date
    09-12-2012
    Location
    NC, USA
    MS-Off Ver
    Excel 2007
    Posts
    22

    Macro to import text file. Numbers seperated by ; -> different columns

    Hey there,

    I'm working on a macro to import a .txt file into an excel sheet. Put it together out of codes I found online. It works fine so far but I can't figure out what I have to change to make it seperate the values by ";" and put them in different columns.

    This is the code:
    Please Login or Register  to view this content.
    Thanks, Obgle

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Macro to import text file. Numbers seperated by ; -> different columns

    .TextToColumns .Cells, xlDelimited, xlTextQualifierDoubleQuote, True, Other:=True, OtherChar:=";"
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    09-12-2012
    Location
    NC, USA
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Macro to import text file. Numbers seperated by ; -> different columns

    Thank you!

+ 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