Hi,
I have set up several mail-merge documents in word that gather their information from an excel spreadsheet.
I am trying to build a userform with a button for each of these mail-merge documents - automating the process.
The macro behind each button will need to:
the part I am stumped on is this:
how do you get an excel macro to respond to a popup prompt in word.
I would *really* appreciate any help on this one.
Thanks for reading this through at least.
Straws
I have set up several mail-merge documents in word that gather their information from an excel spreadsheet.
I am trying to build a userform with a button for each of these mail-merge documents - automating the process.
The macro behind each button will need to:
- open the mail-merging word document
answer yes to the popup prompt regarding running the sql command that filters the recipients ("yes" is not the default answer on this popup window).
initiate the merge-to-document function (answering another prompt with the default answer)
close the mail-merge document (leaving the new document open)
the part I am stumped on is this:
how do you get an excel macro to respond to a popup prompt in word.
I would *really* appreciate any help on this one.
Thanks for reading this through at least.
Straws