hi
i have one folder containing my base.xls file and a variable number (between 1 and 250) of *.txt files
each txt file has a variable number 1-n records (between 1 and 500)
each txt file has the first 3 rows taken up with rubbish; the fourth row contains the column headings; rows 5-n have the data that i need to capture
each row of data has 7 (columns) elements
base.xls file has the appropriate column headings (7) in row 1
i need a macro to import all data from all text files consecutively into Sheet1 of base.xls.
When the data is imported base.xls_sheet1 it needs to occupy columns C:I ; column B in base.xls needs to be the file name of the originating .txt file (excluding the '.txt' suffix)
is anyone able to help please?
dave
Bookmarks