I have an application running at a client who has every flavour of Word from Word 6.0 to Word 2000 running in various offices. I do a mail merge as follows:-
Set objWord = CreateObject("Word.Basic"
objWord.FileOpen Name:=strNetworkDrive & "\newnead\data\lettera.rtf"
objWord.AppShow
objWord.MailMergeOpenDataSource Name:="c:\neadwork\merge.txt", LinkToSource:=False
objWord.MailMerge CheckErrors:=1, Destination:=0, MailMerge:=1
objWord.Activate "lettera.rtf"
objWord.FileClose 2
On most of the pc's running Word 97 I get a message "Word cannot open the merge data file" even though these pc's can run the mail merge from within Word. Word 6.0 and Word 2000 work ok.
Any thoughts?
Steve Hall
Set objWord = CreateObject("Word.Basic"
objWord.FileOpen Name:=strNetworkDrive & "\newnead\data\lettera.rtf"
objWord.AppShow
objWord.MailMergeOpenDataSource Name:="c:\neadwork\merge.txt", LinkToSource:=False
objWord.MailMerge CheckErrors:=1, Destination:=0, MailMerge:=1
objWord.Activate "lettera.rtf"
objWord.FileClose 2
On most of the pc's running Word 97 I get a message "Word cannot open the merge data file" even though these pc's can run the mail merge from within Word. Word 6.0 and Word 2000 work ok.
Any thoughts?
Steve Hall