Combining Multiple RTF Documents into One Master Document

S

smith.b76

I need to be able to combine 1,000 or more multi-page RTF documents
into one large RTF master document on an ongoing basis. I need the
individual page numbers of the original source documents i.e. (page 2
of 3) to be preserved in the master document.

I need to be able to do this programmatically using C# or VB (VS2005).
Ideally this would be done quickly and automatically. Can this be
done? Any suggestions or code example would be greatly appreciated.
 
D

Doug Robbins - Word MVP

See the article "Find & ReplaceAll on a batch of documents in the same
folder" at:

http://www.word.mvps.org/FAQs/MacrosVBA/BatchFR.htm

It will show you how to access each document in a folder and you could
modify the code so that the content of each document is added to a new
document created by your routine. In adding each document, you are going to
need to put each one in a separate section and set the page numbering of
each section so that it commences at 1, rather than continuing from the
previous.


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top