+ Reply to Thread
Results 1 to 3 of 3

Import text file and split data into specific sheets with Applet names

  1. #1
    Registered User
    Join Date
    03-06-2014
    Location
    bangalore
    MS-Off Ver
    Excel 2010
    Posts
    0

    Import text file and split data into specific sheets with Applet names

    Hi

    I am looking for a solution on below code;
    this is similar to http://www.excelforum.com/excel-prog...ic-sheets.html

    but i am not able to split the data properly

    Below code is in .txt file so i will have to parse it and then place them in different columns in Excelsheet. so there are multiple occurances of this Applets in text file. And also Name of the each worksheet should be Applet Name ie "S_A*".



    Note: 1. Field Name column is BLANK for some Applets
    2. Under Each Name= S_BC10 , we can have multiple Applet Name = S_A11...


    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by swethachepur; 03-10-2014 at 03:35 PM.

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Import text file and split data into specific sheets with Applet names

    Hi,

    Try the attached file (written and tested using Excel 2003 on a Vista 64 bit system). The solution I found didn't involve parsing at all, since the DASHED ( "---") lines seemed to define the length of each 'Applet' field.

    The algorithm I used to traverse your file was:
    Please Login or Register  to view this content.
    Please let me know if I missed something or if you have a problem.

    Lewis
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor
    Join Date
    03-22-2013
    Location
    Australia,NSW, Wirrimbi
    MS-Off Ver
    Excel 2013
    Posts
    1,057

    Re: Import text file and split data into specific sheets with Applet names

    That's great stuff LJMetzger..

    Hopefully the OP comes back to see the effort you put in.. but if not.. at least everyone else can gain from it..

    Gonna take me a while to go through it and see how/what you did. but gotta say.. the pseudocode explanation is a nice way of showing us what you were thinking..

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Import TXT files from a specific folder into Excel - TXT file names change hourly
    By jeepinjeff in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-16-2013, 04:08 AM
  2. Import text file into excel and split data in specific sheets
    By chirilaionut in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 06-03-2013, 07:04 AM
  3. Import Java applet into Excel
    By Vlad.varbanov in forum Excel General
    Replies: 0
    Last Post: 01-11-2013, 01:36 PM
  4. Replies: 6
    Last Post: 01-20-2012, 09:15 AM
  5. Import specific sheets from different file.
    By fatalcore in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-27-2011, 09:44 AM

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