Using Visual Studio 2003 actually.
I'm playing with those statements now. It looks like the wrdApp.Open statement was overly complex.
That change gets me closer, Word 2002 is now opening the template file at least. Now I'm getting Data Source errors which I am going to guess are a result of the :Code:wrdDoc = wrdApp.Documents.Open(oFile)
Being overly complicated. Let me see what I come up with.Code:wrdDoc.MailMerge.OpenDataSource(ODCFile, oMissing, oMissing, oFalse, oMissing, oMissing, oMissing, oMissing, oMissing, oMissing, oMissing, oMissing, oSql, oMissing, oFalse, oMissing)




Reply With Quote