+ Reply to Thread
Results 1 to 4 of 4

Tab Delimiting with even lines

  1. #1
    Registered User
    Join Date
    09-14-2009
    Location
    Missouri
    MS-Off Ver
    Excel 2007
    Posts
    2

    Tab Delimiting with even lines

    Hello, my boss wants me to take an excel database created with excel 2007 and turn it into a tab delimited text file. He was very specific about it needing to be tab delimited and a .txt file, he does not want any marks (i.e. commas, pipe-lines, etc) between the data.

    My problem is that the excel file looks like
    9/12/09 3:12 2002 blahblahll-------blahblahblah
    9/13/09 3:13 2143 blahblahblah---blahblah
    (Dashes are purely there to line up the data in this post, they are not present in the actual file)

    When I save it as tab delimited text file, it comes out at
    9/12/09 3:12 2002 blahblahl blahblahblah
    9/13/09 3:13 2143 blahblahblah blahblah

    Is there anyway to get all the columns lined up as they are in the excel file?
    If anyone needs more information let me know
    Last edited by Nophy; 09-14-2009 at 06:05 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Tab Delimiting with even lines

    Quote Originally Posted by Nophy View Post
    Is there anyway to get all the columns lined up as they are in the excel file?
    No, and it's not necessary. The purpose of tab-delimitation is to ease the use of the data with another program, probably through an import process.

    What the file itself looks like to humans who peer at it with a text editor should be irrelevant. Your boss didn't state that as a need, did he?
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    09-14-2009
    Location
    Missouri
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Tab Delimiting with even lines

    Yeah, he did, but he didn't tell me what it was going to be used for. Its possible that he doesn't know that the visual format does not matter to the program. I'll ask him about that tomorrow.

    Thanks!

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Tab Delimiting with even lines

    Tell him some of his options are:

    Comma-delimited (.csv) - visually does not "lineup" when viewed with a text editor

    Tab-delimited (.txt) - visually does not "lineup" when viewed with a text editor

    Space-delimited (.prn) - visually DOES "lineup" when viewed with a text editor

+ 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