Auto Mail Merge from Excel to Word

Pitmo

New Member
Joined
Jan 31, 2017
Messages
11
Hi all,

I'm looking for some VBA code to automate a mail merge from Excel to Word.

I have a customer letter built in a Word Template with Mail Merge fields in place. The data source (one row only) is in a worksheet called MailMerge in Excel. I can successfully merge the data manually from Word, however would like to automate this within Excel.

Users enter data in cells in excel and there will only ever be one row of data to merge. I'd like them to press a button, which opens Word, conducts the merge and saves as a Word document with a name containing Merge data (Let's call it the <Customer_Ref> field), leaving the document open to edit.

I've searched for the answer all over to no avail.

Can anyone help without sending you the documents?

Regards,
Pitmo.
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Forum statistics

Threads
1,214,965
Messages
6,122,500
Members
449,090
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top