+ Reply to Thread
Results 1 to 4 of 4

Import Tab Seperated Text File Into Excel Using Macro

Hybrid View

SameeraCharabudla Import Tab Seperated Text... 10-23-2012, 06:15 AM
brynbaker Re: Import Tab Seperated Text... 10-23-2012, 06:35 AM
SameeraCharabudla Re: Import Tab Seperated Text... 10-23-2012, 11:34 PM
brynbaker Re: Import Tab Seperated Text... 10-23-2012, 11:57 PM
  1. #1
    Registered User
    Join Date
    10-23-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    2

    Import Tab Seperated Text File Into Excel Using Macro

    Hi All,
    I'm new to macros,I need some help to import tab seperated text file to excel.
    Tried using workbooks.opentext but failed doing ,think it accepts onlt txt files.
    Any help here is highly appreciated.

    Thanks in Advance

    Cheers
    Sameera

  2. #2
    Forum Contributor
    Join Date
    10-18-2012
    Location
    Telford, England
    MS-Off Ver
    Excel 2010 (2003)
    Posts
    294

    Re: Import Tab Seperated Text File Into Excel Using Macro

    Run the macro recorder and (slowly, checking each dialog box option) do it by hand.
    You can control all sorts of aspects if you need to.
    Then you have the VBA code you need.
    The code is very simple if you don't need those options, but see for yourself.

  3. #3
    Registered User
    Join Date
    10-23-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Import Tab Seperated Text File Into Excel Using Macro

    Brynbaker:Thanks for your Reply,Let me explain in detail,
    Im able to import ttx to excel with open text method if I specify only the filename parameter,but I wanted to specify the origin parameter with 950 in parameters list because my file contains chinese charcaters.If Specify Origin:=950 in the parameters list then its throwing me error.Kindly suggesst what can be done here .......

  4. #4
    Forum Contributor
    Join Date
    10-18-2012
    Location
    Telford, England
    MS-Off Ver
    Excel 2010 (2003)
    Posts
    294

    Re: Import Tab Seperated Text File Into Excel Using Macro

    SameeraCharabudla
    I'm sorry, I have no experience with non English character sets, so I have no ideas. Good luck.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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