P
parkins
All,
I have a 200-row text file laid out as follows:
| Column 1 | Column 2 |
| target1.txt | my string 1|
| target2.txt | my string 2|
| target3.txt | my string 3|
| target4.txt | my string 4|
etc...
| target200.txt | my string 200|
Anyone know a way to set up a macro in Excel that will save each | my
string n| as a text file named according to the value in Column 1?
And for bonus points, In an ideal world, the text file created will
also have one other line in it before the |string|, which will remain
constant across all 200 files. If I have to insert that constant text
into the Excel file and write two rows from Excel, I'm prepared to do
that if someone can suggest a way to write one!.
Thanks.
Patrick
I have a 200-row text file laid out as follows:
| Column 1 | Column 2 |
| target1.txt | my string 1|
| target2.txt | my string 2|
| target3.txt | my string 3|
| target4.txt | my string 4|
etc...
| target200.txt | my string 200|
Anyone know a way to set up a macro in Excel that will save each | my
string n| as a text file named according to the value in Column 1?
And for bonus points, In an ideal world, the text file created will
also have one other line in it before the |string|, which will remain
constant across all 200 files. If I have to insert that constant text
into the Excel file and write two rows from Excel, I'm prepared to do
that if someone can suggest a way to write one!.
Thanks.
Patrick