Mailmerge Error 5852 into Word 2003

V

Virigl Layne

We're getting a 5852 error mailmerging into a Word 2003
document. The merge is created in Access 2003 using this
code:
Dim appWord as Word.Application

Set appWord = New Word.Application
appWord.Documents.Open gstrTemplatesPath & strFileName
appWord.ActiveDocument.MailMerge.Destination =
wdSendToNewDocument
appWord.ActiveDocument.MailMerge.Execute

The error happens on the line that
ends "wdSendToNewDocument".

Option Explicit is declared in the module. Plus, this
code was working fine in Access and Word versions 97, 2000
and XP.
 
R

Robert Butler

Have you resloved this yet? I am having the same problem and I find
little to no information out there.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top