A
aualias
I am using a template to create documents.
I would like to create one large document using documents created with the
template. However, there is no need to save any of the intermediate
documents.
Pseudocode would be something like this...
Create an empty Word document = docMain.
While there is data
{
Create a Word document from the template.
Modify fields in the document.
Append the newly created doc to docMain.
}
Save docMain
If I save each document created from the template to disk I should be able
to insert with the Selection.InsertFile() method. However, it would be
better if I could insert the document without having to save it to disk.
Is this possible? How would I do it?
TIA
David
I would like to create one large document using documents created with the
template. However, there is no need to save any of the intermediate
documents.
Pseudocode would be something like this...
Create an empty Word document = docMain.
While there is data
{
Create a Word document from the template.
Modify fields in the document.
Append the newly created doc to docMain.
}
Save docMain
If I save each document created from the template to disk I should be able
to insert with the Selection.InsertFile() method. However, it would be
better if I could insert the document without having to save it to disk.
Is this possible? How would I do it?
TIA
David