Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
I have a document set up as a template for mail merge using data from a table
in access. Everything is working, except when the document opens up for the user to view, so does the template, so you have 2 different word documents opening up. Is there a way to avoid this. I am just wanting the user to see the merged document, not the template. I have included my code below. I appreciate any time and advise on this... Dim objWord As Word.Document Set objWord = GetObject("G:\Users\AJ\Testing.doc", "Word.Document") objWord.MailMerge.OpenDataSource _ Name:="G:\Users\AJ\welders\weldxp.mdb", _ LinkToSource:=True, _ Connection:="TABLE tblTestLabFacility", _ SQLStatement:="SELECT * FROM [tblTestLabFacility]" ' Execute the mail merge. objWord.MailMerge.Execute ' Make Word visible. objWord.Application.Visible = True Thank You |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Mail merge data not showing on Mail Recipient List | Mailmerge | |||
mail merge recipenst list not showing everything in access databa. | Mailmerge | |||
word opens access in mail merge. Access is already opened.=twice | Mailmerge | |||
mail merge an access db into a post card template using 4 postard. | Mailmerge | |||
mail merge an access db into a post card template using 4 postard. | Mailmerge |