Hi. Right now i'm developing in VB6 and have Office 2000 installed. What I
do is open up a new document based on a word template and then dynamically
fill in the document based on various conditions. To open up a word
document I use the following:
Dim oWord As Word.Application
Dim oDoc As Word.Document
Set oWord = New Word.Application
Set oDoc = oWord.Documents.Add(App.Path & "\letterhead.dot", , , True)
This works great on the O2K systems I've tried installing it on. However,
it bugs out when I try it on an office97 system(gives me an automation
error). All the docs i find in the MSDN library are for Office 2000
Does anyone know how to modify this so it will work in Office 97 too, or
know a better way to do this?
Thanks in advance
Chad
[email protected]
