Create a MS Word file dynamically
-
:confused: Hi all I have a web page that gets input from site users. Now I want to create a MS Word file with that data. Can any body help? Thanks in advance. Kumar Saurabh
-
:confused: Hi all I have a web page that gets input from site users. Now I want to create a MS Word file with that data. Can any body help? Thanks in advance. Kumar Saurabh
You've got a few approaches. If you're working with Word 2003, you may want to run an XSL transformation of the web data to WordprocessingML (Word documents described in XML syntax). Here's some links to help: Office 2003 XML Reference Schemas[^] New XML Features of the Microsoft Office Word 2003 Object Model[^] If not, you can programmatically use the Word COM object library[^] via automation. If you are doing it manually, you can always use Word's mail merge feature against a datasource.
-
You've got a few approaches. If you're working with Word 2003, you may want to run an XSL transformation of the web data to WordprocessingML (Word documents described in XML syntax). Here's some links to help: Office 2003 XML Reference Schemas[^] New XML Features of the Microsoft Office Word 2003 Object Model[^] If not, you can programmatically use the Word COM object library[^] via automation. If you are doing it manually, you can always use Word's mail merge feature against a datasource.
Thanks, I'll follow these links. Kumar Saurabh