Jun 28, 2000, 6:50 PM
Post #2 of 2
It can be done, but it's difficult. You need to be conversant with COM, how COM components are accessed through ASP (Active Server Pages on IIS), and the object model for Word.
The idea would be to have a server page that accepts a form, creates a COM object to modify a Word document (your template), stuffs the form data into the appropriate parts of the word document, and then returns the document (using whatever the correct MIME type is) instead of HTML.
I've seen this done for Excel, and assume that it can also be done with Word. The person who did it was moderately familiar with COM. It tooks them a day to get the basic ASP written, then four days to get the Word part working (and most of that was pouring over documentation).