Access 2003 Mailmerge

D

dauster

When using Access 2000, my vba code would opened Word documents and turned
them into mailmerge documents and then merge the data from Access tables
into the letters with no problems. Now in Access 2003, when the code get to
this section:

With mobjMergeDoc
With .MailMerge
'.MainDocumentType = wdFormLetters
.OpenDataSource _
Name:=dbCurrent.Name, _
LinkToSource:=True, AddToRecentFiles:=False, _
Connection:="TABLE " & strTableName
.SuppressBlankLines = True

- a box appears asking the user to select the table in Access. Why would
this happen? Do I need to change my code for Access 2003.

Thanks!
 

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