trying to create a button for mail merge

  • Thread starter Thread starter Mourad Ghedira
  • Start date Start date
M

Mourad Ghedira

Hello everyone,

I'm trying to create a button in a toolbar to shortcut the steps for mail
merge into a wrod document. How can I create a macro (while I'm not good in
programming VVBA) which would automatically merge the contact chosen into a
word document without going through the long procedure in outlook.

Thanks for your help
Kelly
 
Since Word's programmatic mail merge functionality cannot use Outlook items as a data source directly, you'd have to write code to use one of these techniques:

1) Export the contact to a type of file that Word *can* use as a data source for programmatic merge, then start the merge with that data source.

2) Replace each merge field in the merge document with the data from the item. This requires that you know which merge field corresponds to which contact field.

In other words, there's no simple 3-line macro to do what you want.
 
Back
Top