G
goshute
I would like to know if it is possible to open a mail merge document
with VBA and and the new document remain a Mail Merge document.
I created a mail merge template and saved as a template. When I open
manually via File > New > On My Computer > Select the template, Word
creates a new mail merge document. I tried several snippets of code
from this forum and code generated by the VBA recorder when opening
the template but nothing seems to work. They all create a new document
but they are not mail merge documents.
Code from VBA recorder:
Documents.Add Template:= _
"C:\Documents and Settings\MyName\Application Data\Microsoft
\Templates\Uton\Letterhead.dot" _
, NewTemplate:=False, DocumentType:=0
with VBA and and the new document remain a Mail Merge document.
I created a mail merge template and saved as a template. When I open
manually via File > New > On My Computer > Select the template, Word
creates a new mail merge document. I tried several snippets of code
from this forum and code generated by the VBA recorder when opening
the template but nothing seems to work. They all create a new document
but they are not mail merge documents.
Code from VBA recorder:
Documents.Add Template:= _
"C:\Documents and Settings\MyName\Application Data\Microsoft
\Templates\Uton\Letterhead.dot" _
, NewTemplate:=False, DocumentType:=0