Access Export to Word

despino

New member
Joined
Jul 17, 2006
Messages
2
Programming Experience
Beginner
Looking for some direction on exporting data from a form to a word template
I have multiple text boxes for each record I want to export to a template word form automatically...Any help is appreciated
 
despino, you use the Add method of the Application.Documents object collection and set the parameter to specify the path of the template. (If you omit the template parameter the regular Normal template is used.) The return value of the Add method is the new document created and you work with this the same way you work with any document when doing Word automation. You can check with documentation, methods/A/Add "as it applies to the Documents object". http://msdn.microsoft.com/library/en-us/vbawd10/html/womthAdd.asp
I also guess the Bookmarks collection would be of particular interest.
 
Back
Top