E
EHPorter
I have a number of VBA routines which I use to assemble mailmerge documents
(they allow the user to select from a number of possible paragraphs and put
those paragraphs together into a single merge document). The data source
for the document is an Access database. Once the mailmerge document is
completely assembled, it is merged to some, but not all, of the records in
Access.
Right now I do the merge manually. I would like to take this one step
further, and automate the process using VBA. Problem: right now, I can see
how to set this up to merge with all of the records in the database, but
cannot see a good way to allow the user to select some (but not all) of the
database records to merge with.
I am still in the conceptualizing stage of this project. I am hoping for
some suggestions as to how this could best be done and perhaps some sources
for sample code or the like.
One good way to do this would be to have VBA open the mailmerge dialog box
in Word, pause to allow the user to check those mailmerge recipients he or
she desires to include, and then resume to complete the merge when the user
clicks the "OK" button. Is this feasible? Is there a better way to
accomplish this goal?
Thank you.
(they allow the user to select from a number of possible paragraphs and put
those paragraphs together into a single merge document). The data source
for the document is an Access database. Once the mailmerge document is
completely assembled, it is merged to some, but not all, of the records in
Access.
Right now I do the merge manually. I would like to take this one step
further, and automate the process using VBA. Problem: right now, I can see
how to set this up to merge with all of the records in the database, but
cannot see a good way to allow the user to select some (but not all) of the
database records to merge with.
I am still in the conceptualizing stage of this project. I am hoping for
some suggestions as to how this could best be done and perhaps some sources
for sample code or the like.
One good way to do this would be to have VBA open the mailmerge dialog box
in Word, pause to allow the user to check those mailmerge recipients he or
she desires to include, and then resume to complete the merge when the user
clicks the "OK" button. Is this feasible? Is there a better way to
accomplish this goal?
Thank you.