>How do you close a document through VFP when creating a mail merge without receiving the prompt from Word? The document is printing in the background and Word is not being made visible.
When you run the MailMerge.Execute method, the newly created merged document becomes the ActiveDocument, so you can get a handle on it with:
oMergedDoc = oWord.ActiveDocument
right after the merge.
Tamar
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement