Hi all,
I'm looking to add a button to my Customers form which will mailmerge the current record to a Word template and then save the Word doc as a new file (Ideally the customer's name).
I've looked at the Super Easy Mailmerge but I can't work out how to implement it without all of the variables (selecting documents etc.).
The files will all be saved to one location (C:\Customers\Exports\) and this won't change.
This is also the location of the mailmerge template (C:\Customers\Exports\Template.docx)
If possible, can anybody provide some code that will do this for me? I'll be happy to provide any extra info that you might need. I'm a complete beginner with VBA so i'd really appreciate any help.
I'm looking to add a button to my Customers form which will mailmerge the current record to a Word template and then save the Word doc as a new file (Ideally the customer's name).
I've looked at the Super Easy Mailmerge but I can't work out how to implement it without all of the variables (selecting documents etc.).
The files will all be saved to one location (C:\Customers\Exports\) and this won't change.
This is also the location of the mailmerge template (C:\Customers\Exports\Template.docx)
If possible, can anybody provide some code that will do this for me? I'll be happy to provide any extra info that you might need. I'm a complete beginner with VBA so i'd really appreciate any help.