+ Reply to Thread
Results 1 to 2 of 2

QueryTable import from many text files in a loop

  1. #1
    Registered User
    Join Date
    07-19-2007
    Posts
    11

    QueryTable import from many text files in a loop

    Problem1 -- I would like to loop through many text files and load each one into excel (via QueryTable) without prompting for the filename.
    My code so far is...
    Please Login or Register  to view this content.
    ... but despite me specifying the file A.txt, it still prompts me to select the file (albeit in the correct folder).

    Problem 2 -- Once the prompt issue is resolved, the second problem will be to pull the filename from a list of filenames in a worksheet (in a loop).

    Any ideas on either of these 2 problems?
    Thanks in advance
    Last edited by rylo; 06-13-2008 at 08:10 PM.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Can you please review the rules regarding wrapping code. I've edited you post this time and included the wraps.

    rylo

+ 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