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...
... but despite me specifying the file A.txt, it still prompts me to select the file (albeit in the correct folder).![]()
Please Login or Register to view this content.
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
Bookmarks