
VB OLE to MS Word - code.txt [01/01]
Hi,
I have word documents with tags in them e.g. <TOWN1> and need to produce
several versions of the document, one for each of our customers. I have a text
file mapping the tags to the real text and want to write a VB program that
opens the word doc, replaces the tags and saves the doc using Save as.
The open and saveas works but the replace dosn't. I wrote a simular program in
VB3 a few years ago but have lost the source. The EditReplace call is causing
me the problem.
Heres the code so far
begin 644 code.txt
<encoded_portion_removed>
end
Thanks in advance for your help
Cheers
Alastair