+ Reply to Thread
Results 1 to 3 of 3

Importing a text file, and converting specific columns

  1. #1
    Registered User
    Join Date
    01-17-2011
    Location
    Kent
    MS-Off Ver
    Excel 2007
    Posts
    34

    Importing a text file, and converting specific columns

    Right chaps.

    i've tried a few methods, but nothing that works right yet.

    i need to import a text file into a spreadsheet that already contains the header row.

    the spreadsheet has 50 columns, semi colon seperated.

    columns 1-10 need to be text,11-20 as number /general, and everything afterwards as text again.

    let's see your magic, guys

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,955

    Re: Importing a text file, and converting specific columns

    When I've done this, I've used the "import external data" command. After specifying the text file, it will bring up the text import wizard. As you work through the wizard, you'll have the opportunity to specify the semicolon as your delimiter, and be able to specify how it should treat each column. It will then import the file using those specifications.

  3. #3
    Registered User
    Join Date
    01-20-2012
    Location
    New Jersey
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Importing a text file, and converting specific columns

    This is the programming forum, I don't think he needs to be walked through manually importing it, I think he wants it in vba?

    This should be the formatting part

    Please Login or Register  to view this content.
    Last edited by scantron; 01-20-2012 at 01:50 PM.

+ 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