Create DOCX From Text

Creating a new Word document from text is also simple. Pass any document structure object, such as a paragraph, table, or section, to instantiate a new Word document. Finally, use the SaveAs method to export the document.