pledbetter
Registered User.
- Local time
- Today, 13:52
- Joined
- Feb 20, 2012
- Messages
- 16
I am using Office 2010. I created a mailmerge document in Word that uses my Access database as its data source. That data source is a local table in the database. When I open the Word document, I get the prompt to connect to my data source and run the mailmerge. When I do so, the mailmerge runs perfectly.
If I start the mailmerge from within Access by clicking on External Data - Word Merge, that runs fine.
I want to be able to do the mailmerge with VBA, either by loading the Word document and running the mailmerge without being prompted for the data source, or wholly from Access, as if I clicked on External Data - Word Merge.
The desired result is a Word document with the merged data, ready for printing, emailing, or saving as a PDF.
I've been working on this all day and I'm stumped.
Thanks in advance.
If I start the mailmerge from within Access by clicking on External Data - Word Merge, that runs fine.
I want to be able to do the mailmerge with VBA, either by loading the Word document and running the mailmerge without being prompted for the data source, or wholly from Access, as if I clicked on External Data - Word Merge.
The desired result is a Word document with the merged data, ready for printing, emailing, or saving as a PDF.
I've been working on this all day and I'm stumped.
Thanks in advance.