>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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only