Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access - Word Automation. (-2147023174 Automation Error)
Message
De
12/11/1998 06:04:29
Jody Cairns
OAO Technology Solutions
Moncton, Nouveau-Brunswick, Canada
 
 
À
11/11/1998 08:17:47
Information générale
Forum:
Visual Basic
Catégorie:
VBA
Divers
Thread ID:
00156527
Message ID:
00156886
Vues:
43
> Set mymerge = ActiveDocument.MailMerge
> mymerge.Execute
>End With

What's the error you get? You should wrap a "if mymerge.State = wdMainAndDataSource Then" around your Execute statement, to ensure your data source still exists for the mailmerge object. From your code, that's what appears to be wrong - you have to data associated with the merge.

best,

jody
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform