Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / August 2007

Tip: Looking for answers? Try searching our database.

Combining Multiple RTF Documents into One Master Document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
smith.b76@gmail.com - 27 Aug 2007 17:46 GMT
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.
Doug Robbins - Word MVP - 27 Aug 2007 20:45 GMT
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.

Signature

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

>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
[quoted text clipped - 4 lines]
> Ideally this would be done quickly and automatically. Can this be
> done? Any suggestions or code example would be greatly appreciated.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.