 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Chris M Guest
|
Posted: Thu Jan 29, 2004 6:05 pm Post subject: Word Documents |
|
|
I have a Tworddocument that does a mail merge to a newdocument. Which
creates a new document in word. So now i have two word documents in word,
the original and the merged.
i do a doc.connectto(msword.activedocument) which should be the merged
document but instead it creates another instance of a document. how do i
get a tworddocument to connect to an already open document.
Also, can I stop mailmerge from making a new document. i see there is
wdSendtoNewdocument is there a wdUseExisting so i dont' need to work with
more then one document at a time?
Thanks.
|
|
| Back to top |
|
 |
Chris M Guest
|
Posted: Tue Feb 03, 2004 3:40 pm Post subject: Re: Word Documents |
|
|
Well I figured out a work around.
"Chris M" <chris (AT) eventsoft (DOT) com> wrote
| Quote: | I have a Tworddocument that does a mail merge to a newdocument. Which
creates a new document in word. So now i have two word documents in word,
the original and the merged.
i do a doc.connectto(msword.activedocument) which should be the merged
document but instead it creates another instance of a document. how do i
get a tworddocument to connect to an already open document.
Also, can I stop mailmerge from making a new document. i see there is
wdSendtoNewdocument is there a wdUseExisting so i dont' need to work with
more then one document at a time?
Thanks.
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|