word 2010 mail merge execute twice
Hello,
We have existing code in Word 2007 that works but does not in Word 2010. here is the code:
Dim myMerge As MailMerge
Set myMerge = ActiveDocument.MailMerge
myMerge.OpenDataSource Name:=fileDirChartsDoc
myMerge.Destination = wdSendToNewDocument
myMerge.Execute
'myMerge.Execute
This code does not do a mail merge in 2010. However, if the second Execute is fired, the document does a mailmerge. Any answers will be appreciated. Thanks in advance. SM.
|