Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Append Many Documents into Single Document

2 views
Skip to first unread message

SanCarlosCyclist

unread,
Mar 20, 2010, 6:38:30 PM3/20/10
to
I have 60 word documents in a directory that I would like to append
into a single file. Is there an easy way to do this?

Has anyone written a macro that can append every word document in a
directory into a single word document?

I very much thank you for your help.

Doug Robbins - Word MVP

unread,
Mar 20, 2010, 8:54:21 PM3/20/10
to
See the article "Print all documents in a given folder to a single print
file" at:
http://www.word.mvps.org/FAQs/MacrosVBA/PrintAllDocsInFldr.htm

or

http://www.mydigitallife.info/2007/12/05/combine-and-merge-multiple-documents-in-microsoft-office-word-2007/

With the second method, you may need to do it in a number of steps.

--
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, originally posted via msnews.microsoft.com

"SanCarlosCyclist" <sancarlo...@gmail.com> wrote in message
news:aac9360f-6cc1-4819...@k36g2000prb.googlegroups.com...

SanCarlosCyclist

unread,
Mar 21, 2010, 10:31:03 PM3/21/10
to
On Mar 20, 5:54 pm, "Doug Robbins - Word MVP"

<d...@REMOVECAPSmvps.org> wrote:
> See the article "Print all documents in a given folder to a single print
> file" at:http://www.word.mvps.org/FAQs/MacrosVBA/PrintAllDocsInFldr.htm
>
> or
>
> http://www.mydigitallife.info/2007/12/05/combine-and-merge-multiple-d...

>
> With the second method, you may need to do it in a number of steps.
>
> --
> 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, originally posted via msnews.microsoft.com
>
> "SanCarlosCyclist" <sancarloscycl...@gmail.com> wrote in message

>
> news:aac9360f-6cc1-4819...@k36g2000prb.googlegroups.com...
>
> > I have 60 word documents in a directory that I would like to append
> > into a single file. Is there an easy way to do this?
>
> > Has anyone written a macro that can append every word document in a
> > directory into a single word document?
>
> > I very much thank you for your help.

Hi Doug, thanks for your response. I copied the visual basic to a
module and changed the directory to the directory name where the word
files are located. I ran the module and got an error that said,
"Compile error: Invalid outside procedure." Do you have any
suggestions of how to get the macro to work? I appreciate your help.

Doug Robbins - Word MVP

unread,
Mar 22, 2010, 12:35:40 AM3/22/10
to
The code must be included within and Sub - End Sub construction.

See the article "What do I do with macros sent to me by other newsgroup
readers to help me out?" at:
http://www.word.mvps.org/FAQs/MacrosVBA/CreateAMacro.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, originally posted via msnews.microsoft.com

"SanCarlosCyclist" <sancarlo...@gmail.com> wrote in message
news:df0c314b-427f-422f...@a16g2000pre.googlegroups.com...

SanCarlosCyclist

unread,
Mar 22, 2010, 3:04:38 PM3/22/10
to
On Mar 21, 9:35 pm, "Doug Robbins - Word MVP"

<d...@REMOVECAPSmvps.org> wrote:
> The code must be included within and Sub - End Sub construction.
>
> See the article "What do I do with macros sent to me by other newsgroup
> readers to help me out?" at:http://www.word.mvps.org/FAQs/MacrosVBA/CreateAMacro.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, originally posted via msnews.microsoft.com
>
> > suggestions of how to get the macro to work? I appreciate your help.- Hide quoted text -
>
> - Show quoted text -

Hi Doug, I got both methods to work. Is there a way to get the combine
and merge that you list for Word 2007 to also work in version 2003?

Doug Robbins - Word MVP

unread,
Mar 22, 2010, 6:30:35 PM3/22/10
to

In Word 2003, select File from the Insert menu and then browse to and select
the required files.

--
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, originally posted via msnews.microsoft.com

"SanCarlosCyclist" <sancarlo...@gmail.com> wrote in message
news:da936f3c-b87b-47d3...@g19g2000yqe.googlegroups.com...

0 new messages