Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MailMerge with Office XP
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
MailMerge with Office XP
Divers
Thread ID:
00700189
Message ID:
00700189
Vues:
46
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform