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!
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!