Copy from a doc file to another one

Posted on 2004-03-25
Last Modified: 2010-05-01
Hi friends,
I want to copy the contain of alot of doc files into another one. How can I do? Please help me.
Thanks alot,
Question by:VTV
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 27

Expert Comment

ID: 10684567
Do I understand correctly, you want to have one document, which is composed of the contents of say, 5 other documents?
Have you tried to use the Master and Subdocument feature in Word?


Accepted Solution

pg_india earned 125 total points
ID: 10686110
try this tutorial

it gives a clear understanding of how to use word object..all you have to do is to select all the contents using coy and paste it to a second document.

tell in case of any more clarification
LVL 26

Expert Comment

ID: 10686726
I use record the macro to get this

    Documents.Open FileName "You first doc", _
        ConfirmConversions:=False, ReadOnly:=False, AddToRecentFiles:=False, _
        PasswordDocument:="", PasswordTemplate:="", Revert:=False, _
        WritePasswordDocument:="", WritePasswordTemplate:="", Format:= _

' repeat this to add more doc
    Selection.GoTo What:=wdGoToPage, Which:=wdGoToNext, Count:=10000, Name:=""
    Selection.EndKey Unit:=wdStory
    Selection.Delete Unit:=wdWord, Count:=-1
    Selection.InsertBreak Type:=wdPageBreak
    Selection.InlineShapes.AddOLEObject ClassType:="Word.Document.8", FileName _
        :="your seocond.doc", LinkToFile:= False, DisplayAsIcon:=False

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article ( for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question