>>Hi all,
>>
>>I have a piece of code that creates a new document sets an existing word Data source then edits the Merge main document.
>>
>> .Documents.Add
>> with .ActiveDocument
>> with .MailMerge
>> .MainDocumentType = lcDocType
>> .OpenHeaderSource(lcHeaderFile)
>> .EditMainDocument
>> endwith
>> .SaveAs(lcFileName)
>> endwith
>>
>>Now this code works with Word 97 (v8) and Word 2000 (v9) but the datasource is not opened in Office XP (v10). Anyone any ideas?
>>
>>Thanks in anticipation.
>
>This and other links included there may help:
>
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q289830&Thanks that looks exactly like my problem - nice of them to let old code continue working :(
Caroline