Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word document flashes on screen during merge
Message
From
26/11/2001 11:01:30
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00585753
Message ID:
00585757
Views:
25
Hi Doug have you tried this:
LOCAL loword
loword = CREATEOBJECT('word.application')
loword.visible = .f.
loword.Documents.Open('your document.doc')
...do the mailmerge...
loword.Quit OR loword.activedocument.close
and if needed loword.vilible = .t.
>Is there a way to keep Word from displaying a mail merge document on the screen during the merge process? I tried setting the server to .visible = .F. but that still didn't keep it from displaying the file during the merge process. It just flashes for a second then closes after the merge has completed. I would rather not display anything?
>
>Thanks,
>Doug
Alexandre Palma
Senior Application Architect
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform