View Single Post
  #5   Report Post  
Posted to microsoft.public.word.formatting.longdocs
Ricki Miles Ricki Miles is offline
external usenet poster
 
Posts: 50
Default Inserting many files into one document

Thanks so much for the info!

Ricki

"Doug Robbins - Word MVP" wrote in message
...
Take a look at the article "Insert into a document the names of all files
in a selected folder" at:

http://www.word.mvps.org/FAQs/Macros...tFileNames.htm

and

"Print all documents in a given folder to a single print file" at:

http://www.word.mvps.org/FAQs/Macros...DocsInFldr.htm




--
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

"Ricki Miles" wrote in message
...
Thanks so much for your feedback. The documents should start on new
pages in the finished combined document, so your suggestion of "page
break before" for the heading style is perfect. I would like to create a
macro that would insert each documents in the order in which they appear
in the folder, but I don't know the VBA language to make it loop through.
I'd appreciate help with that coding. Thanks again,

Ricki

"Jay Freedman" wrote in message
...
On Sat, 23 Feb 2008 12:33:45 -0600, "Ricki Miles"
wrote:

I am working in Word 2003. I have over one thousand separate documents
of
one or two pages of text each. There are no graphics, tables, etc.
What is
the best way to combine them into a book consisting of one document? I
don't want to use Master Document as I know it has many problems. I am
thinking of using Insert File and making the formatting all the same.
Any
other suggestions?

TIA

Ricki


Not really a separate suggestion, but building on what you're already
thinking...

Do you want each inserted document to start on a new page? There are a
couple of
ways to do that. The best, if each document starts with a heading
formatted with
the same style, is to add "Page break before" paragraph formatting to
the
definition of that style in the final document. The alternative is to
insert a
New Page section break between documents as you add them.

If you have a list of the file names of the separate documents, in the
order
that they should appear, then a macro could take that list as input and
create
the consolidated document. (If the documents aren't all on one folder,
the list
would have to include the full path to each one.) This would be a lot
faster
than building it by hand.

If the documents were all based on the same template and use the same
style
definitions, you shouldn't have any problems with formatting. If there
could be
styles with the same names but different sets of properties in different
documents, though, you may run into trouble. See
http://www.shaunakelly.com/word/styl...xtChanges.html for the
considerations.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.