Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hiding datasource dialog in MS Word MailMerge
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00899134
Message ID:
00899349
Vues:
17
I'm using WinXP with Word 2002 SP1. I tried setting the DisplayAlerts to 0 and/or .F. but neither worked to supress the "Select File" dialog.

Thanks for the input though ... it was a good thought.

>I You are using office 97 there is no way (I was posting here a bunch of heart-rending threads but nobody knows).
>The one way is to open file from word w/o Automation & delete all merge info. Not to delete the MERGEFIELDS but in dialog that appears You choose DELETE ALL MERGE INFO)
>
>In bigger versions of office
>
>oWord.DisplayAlerts = 0
>oWord.Visible = .f.
>... Your code here to open main document & DataSouce
>oWord.Visible = .t.
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform