Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Copy from a doc file to another one

Posted on 2004-03-25
6
Medium Priority
?
169 Views
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,
VTV
0
Comment
Question by:VTV
[X]
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
6 Comments
 
LVL 27

Expert Comment

by:Dabas
ID: 10684567
Hi VTV,
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?

Dabas
0
 
LVL 3

Accepted Solution

by:
pg_india earned 500 total points
ID: 10686110
try this tutorial

http://support.microsoft.com/?kbid=285332

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
0
 
LVL 26

Expert Comment

by:EDDYKT
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:= _
        wdOpenFormatAuto

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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Suggested Courses

610 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