ASP and Word Integration
Posted on 2003-03-12
Here is the situaton:
I have a word document on the server. Which has a logo at the first pharagraph, and a big table with some text in some cells and empty cells. The word document has no bookmarks.
I want to achieve the following with ASP (Classic ASP) running under IIS 4.0.:
1. I want to copy this .doc file with a different name. To be specific I want to add a unique reference number followed by an underscore in front of it and save it.
2. With this new document which the name of the file is changed in step 1, I want to Open and Insert some text in the empty cells in the document which I will retrieve from a recordset and save it.
I now that this can be done in ASP with Scripting object but I could not find any suitable code on the net.
Can you please help