A
Angus Comber
I have written a VB6 program which generates a Word letter based on a
template and then runs the command below:
objWord.Selection.Find.Execute "<Address>", , , , , , , , , strToWord, True
where objWord is of type Word.Application
This works fine on Office 97, 2000 and on my Word 2002 on XP test PC.
It is funny because most of the VBA code works - ie the code to load a Word
document based on the correct template works fine. The problem is that the
<Address> text is NOT replaced with the contents of the strToWord variable.
Anyone any ideas why?
Angus Comber
(e-mail address removed)
<Remove NOSPAM to email me>
template and then runs the command below:
objWord.Selection.Find.Execute "<Address>", , , , , , , , , strToWord, True
where objWord is of type Word.Application
This works fine on Office 97, 2000 and on my Word 2002 on XP test PC.
It is funny because most of the VBA code works - ie the code to load a Word
document based on the correct template works fine. The problem is that the
<Address> text is NOT replaced with the contents of the strToWord variable.
Anyone any ideas why?
Angus Comber
(e-mail address removed)
<Remove NOSPAM to email me>