G
Guest
I have found information on Word Automation to be very sparce indeed on the
web. Can someone point me to a good forum or website or book that covers this
subject in GREAT detail.
For instance the following code statement takes between 10 and 15 seconds to
execute and I wish to reduce that to no more than 2 seconds.
oWordDoc.MailMerge.OpenDataSource _
Name:="XYZ.mde", _
LinkToSource:=True, _
Connection:="QUERY " & strDataSource, _
SQLStatement:="SELECT * FROM " & strDataSource & strCriteria
It basically sets up a feed of ONE record's data into a Word doc that has
been setup as a MailMerge document.
I could post this question to the Word MailMerge forum, however previously I
have found there is very little automation experience there.
web. Can someone point me to a good forum or website or book that covers this
subject in GREAT detail.
For instance the following code statement takes between 10 and 15 seconds to
execute and I wish to reduce that to no more than 2 seconds.
oWordDoc.MailMerge.OpenDataSource _
Name:="XYZ.mde", _
LinkToSource:=True, _
Connection:="QUERY " & strDataSource, _
SQLStatement:="SELECT * FROM " & strDataSource & strCriteria
It basically sets up a feed of ONE record's data into a Word doc that has
been setup as a MailMerge document.
I could post this question to the Word MailMerge forum, however previously I
have found there is very little automation experience there.