Mark, Here's how we work with RTF: We create a Word document formatted exactly like we want with special markers (unique text) inserted in places where we want to programmatically add text.
We save this document to RTF (this RTF becomes our template file), remove all the carriage returns and line feeds, and then replace our marker text with the text we want to insert. Each new version of Word introduces new RTF codes and markup patterns. Recommendation: Find a very old version of Word (Word 95) to generate your RTF 'templates'. The older versions of Word generate much simpler RTF that is forward compatible. Good luck! Malcolm _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor