Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MailMerge with Office XP
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00700189
Message ID:
00700201
Views:
8
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform