ment with some closing text and specifyi
ng the template''s location, and then our subroutine.
<%
objWordDoc.Application.ActiveDocument.Paragraph.Add.Range.InsertAfter(
"Thank you for shopping at Acme Co., and please come again!")
objWordDoc.Application.ActiveDocument.Paragraph.Add.Range.InsertAfter(
" ")
objWordDoc.Application.ActiveDocument.Paragraph.Add.Range.InsertAfter(
" ")
objWordDoc.Application.ActiveDocument.Paragraph.Add.Range.InsertAfter(
"Regards,")
objWordDoc.Application.ActiveDocument.Paragraph.Add.Range.InsertAfter(
" ")
objWordDoc.Application.ActiveDocument.Paragraph.Add.Range.InsertAfter(
"Daryl B. Morticum")
objWordDoc.Application.ActiveDocument.Paragraph.Add.Range.InsertAfter(
"Sales Associate")
End Sub
%>
Hopefully this will get your gears spinning for ways you can do someth
ing similar. We are sure that we aren''t the only people who have had a
need to create a document from a Web page''s form. This is how we did
it. If you have a better way, or an improvement on or method, we would
love to hear from you.