I am attmpting to automate Word Mail merge from Access, using code like
set wobj = GetObject(,"Word.Application")
set oDoc = GetObject(strLetterName,"Word.Document")
With oDoc
.MailMerge.OpenDataSource
Name:=Db.Name,
LinkToSource:=True,
Connection:="QUERY qMailMergeClient",
SQLStatement:="SELECT * FROM qMailMergeClient"
..etc
Anyone done this successfully and willing to discuss?
Regards
Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
set wobj = GetObject(,"Word.Application")
set oDoc = GetObject(strLetterName,"Word.Document")
With oDoc
.MailMerge.OpenDataSource
Name:=Db.Name,
LinkToSource:=True,
Connection:="QUERY qMailMergeClient",
SQLStatement:="SELECT * FROM qMailMergeClient"
..etc
Anyone done this successfully and willing to discuss?
Regards
Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK