J
John Grierson
I have a macro that opens a MailMerge .doc
In Word 2003 I receive the message:
"Opening this document will run the following SQL
command
SELECT *. FROM filename
Data from your database will be placed in the
document. Do you want to continue?"
Can I insert code to force YES
As a work aroung I have tried changing the document to Not
Mailmerge and then coding to MailMerge in the macro.
This avoids the above problem but then always asks for the
field separator. In this case have tried adding
Application.DefaultTableSeparator = "," 'cos they are
comma delimited, but this has no effect.
Advice gratefully received.
John
In Word 2003 I receive the message:
"Opening this document will run the following SQL
command
SELECT *. FROM filename
Data from your database will be placed in the
document. Do you want to continue?"
Can I insert code to force YES
As a work aroung I have tried changing the document to Not
Mailmerge and then coding to MailMerge in the macro.
This avoids the above problem but then always asks for the
field separator. In this case have tried adding
Application.DefaultTableSeparator = "," 'cos they are
comma delimited, but this has no effect.
Advice gratefully received.
John