Hi: RTF stands for "Rich Text Format" -- it is a specification for how to describe an ASCII text document which contains RTF control strings that can be opened with many different word processors. As I remember, RTF was originally the format used to exchange documents between the PC and the Mac and other computers with different word processors. However, the docx format, is a Microsoft Open Office XML format for Word documents. Although Microsoft Word can open a ASCII .RTF file, and Word can open a .DOCX file -- I would not expect a .docx file to contain RTF control strings. A .DOCX file is designed according to the Microsoft specification, which is different than the RTF specification. If you want to create an RTF file and RTF gives you the style that you want. Just open the RTF file in Word and re-save it as a .DOCX file if you want to create a .DOCX file using ODS WORD, then you'll need to change your code to get rid of the RTF control strings and replace them with other controls. You may want to open a track with Tech Support on how to generate what you want with ODS WORD. But using RTF control strings inside ODS WORD will probably NOT work. Cynthia
... View more