R
Raj
Hi,
I have a word document mailmerged with an excel table as a data
source. In the Document.open event of the word document is a macro
that opens the document and sends the merged letters to a new document
(for later printing). Everything works fine, except that when the
workbook with the document.open macro is opened, it warns the user
about running the sql command. I want to say "Yes" to this in the code
so that the mail merge is seamless. How do I say "Yes" to the command
in VBA code?
Thanks in advance for the help
Regards,
Raj
I have a word document mailmerged with an excel table as a data
source. In the Document.open event of the word document is a macro
that opens the document and sends the merged letters to a new document
(for later printing). Everything works fine, except that when the
workbook with the document.open macro is opened, it warns the user
about running the sql command. I want to say "Yes" to this in the code
so that the mail merge is seamless. How do I say "Yes" to the command
in VBA code?
Thanks in advance for the help
Regards,
Raj