That line makes no sense in the context you are showing.<BR><BR>Incidentally, doing ReDim Preserve every time through the loop is HORRIBLY SLOW coding! There are *MUCH* better ways.<BR><BR>Having said that, there is nothing obviously wrong with the code, except that the file you are specifying may not be accessible to the FSO *and* that function(...) line seems out of place.<BR><BR>What happens when you run the code? Any errors?<BR><BR>
I guess it wasn't a function...I took those out and it did what I wanted... consequently... I read your part of the article and will implement it as soon as I've tweaked the program... Thanks for your help.