Create a file from each row of data

I have a file with say two columns,
column 1 is a name e.g. Letter to patient
column 2 contains the HTML of the letter

I can't export this out to Excel for importing into my software because the HTML fields are too big.

Is there a way for Morph to run through each row and create a file with the "name of column1".html and insert the html from column2 into the file.

So if I have 100 rows I will end up with 100 files?

Hi Gavin,

You can do it with iterations. See the attached example.
file-from-row.morph (5.6 KB)

If you're new to iterations, check out our tutorial articles: