General information
Category:
COM/DCOM and OLE Automation
>>The big performance hit seems to come with the statement
>> WITH lo_Document.MailMerge
>
>Couple of thoughts. First, avoid using the Selection object. Use the Range object instead.
>
>Second, and this is the big one, make sure Word.Visible is set to .F. before you do the merge.
>
>Tamar
Thanks, Tamar. I had forgotten about the Visible property which I had set to .T. for debugging.
By the way, thanks much for your recent Advisor article on Word automation - it was a big help!
-Carl
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only