Ippoliti Giuliano wrote:
Hello everybody,
I'm using a macro to do a mail merge. Basically, it uses the
LoadComponentFromURL method to load the main document, it replaces the
database fields for each record in a text database, and it uses the
storeAsURL method to obtain Doc1.sxw, Doc2.sxw, ..., DocN.sxw. After
that, I use another macro to merge all these documents in one (this
step is very time consuming), and I print it.
My question is: is there a method like "AppendToUrl" (the name is just
an example), to append a loaded document into another one, called for
instance "Fusion.sxw" ?
I would save a lot of processing time in this way.
Thank you!
Giuliano
Ippoliti,
Let me start by saying that I am very busy so sometimes it takes a while
for me to get back to the list to check for responses.
OK, now on to your question:
Why do you not simply use the mail merge facility?
I will now assume that you really do have a reason for doint this, so...
You can insert a document. So, you could do something like this...
Create a new document:
While there are names to do
Insert my mail merge document into the current document
Fill in the mail merge data
You could potentially copy and past data, but this is dangerous unless
you knew for certain that a live person would not be using the computer
at the same time and then over-writting the clipboard.
Just a few thoughts...
--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.sxw
My Macro Book: http://www.hentzenwerke.com/catalog/oome.htm
Free Info: http://www.pitonyak.org/oo.php
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]