Thanks Richard...

Using a text file it works with either your UDF or Printto(), but when I change the file to a rtf or doc, it fails. Can you try that and see what results you get?