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

Click here to load this message in the networking platform