In my database which is used by a charity I have a button which opens a mailmerge email document in MS Word using the following Visual Basic code -
FollowHyperlink "C:\Our Folders\BWMC\July Donors Email.docx", , True, True
This mailmerge document draws its personal information from a query in my database. And sends off personal emails to a number of donors.
I want to attach a personal document called 'Allocations.docx' which is also a mailmerge document drawing its personal information from the same query. How can I automate the attachment of this document to the email so that each donor gets their own email plus their own attachment?
While I have made good progress with my understanding of MS Access I have little ability with Visual Basic. Can something be added to the existing line of VB which will do what I want? If so, what do I need to add?
Any help would be appreciated.