Creating tab delimited text files form excel using vba

I wanted to know how to create text files that get populated from specific ranges of cells from excel

An example that I am looking for is to create a header and a line tab delimited text file. The header file would only have one row of data. The line text file could have one row of data or it could have 100 rows. I want to be able to export the data from the spreadsheet and have it create two different text files. One for the header reacord and one for the line record.

If someone can point me in the right direction on how to do this in excel using vba

Thank you



Answer this question

Creating tab delimited text files form excel using vba