Consulting

Results 1 to 3 of 3

Thread: txt files import into excel

  1. #1
    VBAX Regular
    Joined
    Apr 2005
    Posts
    8
    Location

    txt files import into excel

    Hello!



    First of all I would like to thank all the people who helped me to start think "in excel"! Then comes the problem:
    I have folder named FILES containing folders named A, B and C.
    Each folder consists of many *.txt files named by format "yyyymmdd.txt".
    I need Excel to import the data into sheet named by A, B and C (the name of folder) and if there's no such sheet then create.
    Excel imports these data into sheet by date - starting from the first yyyymmdd till last (there is also error check preventing to import duplicate entries).
    I have added 2 example txt files as attachment. In the sheet column one is date (1st column in txt file).


    P.s.it would be nice also to enter a starting date in msgbx.

  2. #2
    VBAX Master Killian's Avatar
    Joined
    Nov 2004
    Location
    London
    Posts
    1,132
    Location
    Hi there

    So like the solution in your earlier thread but with a few changes?
    K :-)

  3. #3
    VBAX Regular
    Joined
    Apr 2005
    Posts
    8
    Location
    Quote Originally Posted by Killian
    Hi there

    So like the solution in your earlier thread but with a few changes?

    Yes kinda, but here I have many folders and dont know how to make loop through all of them, and the files are now tab delimited, not koma seperated,
    so I am asking for little help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •