In code I create a document based upon a template.
Example: Documents.Add Template:=sTemplatePath & "\Template2.dot"
The template has FormFields with Bookmark names. I fill some fields with data.
With ActiveDocument
.FormFields("Date").Result = sDate
End...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.