in reply to Re^2: Writing to a file using Formats
in thread Writing to a file using Formats

Well, I tried it out and it worked, so I'm pretty sure it was the right answer. Note the error message you are getting specifically tells you that the format(!!!) is undefined.

You could post your updated code if you don't find the mistake yourself