Combining doc files into single file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a number of dictations each in separate doc files that need to be
concatenated into a single file for later upload into a database. Is there an
easier way of putting the together the contents of these separate word.doc
files instead of opening each file, select all, copy, switch to new file and
paste, repeat for the next file?

Thanks,
philr
 
This sounds like a job for the boiler.dot add-in which you can download from
my web site..

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Thank you Mr. Mayor,

Your suggestion to look at the download site was good. It lead me to other
resources like WOPR and gave me a couple other key words. Turns out MS had
already solved the problem for me. I apparently can use Insert | Files ...
and include tons of files.

I very much appreciated your suggestion.

Much appreciated,
philr
 
The boiler macro simply makes the job simpler and allows you to select the
files in a preferred order. If you want to insert the document contents of a
folder into a single document, then the following macro will do that
http://www.gmayor.com/installing_macro.htm :

Sub BatchInsertFiles()
On Error GoTo err_FolderContents
Dim FirstLoop As Boolean
Dim DocList As String
Dim DocDir As String

With Dialogs(wdDialogCopyFile)
If .Display <> 0 Then
DocDir = .Directory
Else
MsgBox "Cancelled by User"
Exit Sub
End If
End With
If Documents.Count > 0 Then
Documents.Close SaveChanges:=wdPromptToSaveChanges
End If
Application.ScreenUpdating = False
FirstLoop = True
If Left(DocDir, 1) = Chr(34) Then
DocDir = Mid(DocDir, 2, Len(DocDir) - 2)
End If
DocList = Dir$(DocDir & "*.doc")
Documents.Add
Do While DocList <> ""
Selection.InsertFile FileName:=DocList
DocList = Dir$()
FirstLoop = False
Loop
Application.ScreenUpdating = True
Exit Sub
err_FolderContents:
MsgBox Err.Description
Exit Sub
End Sub
 
Graham, where is that (boiler) add-in on your site? I have looked and tried
search, but to no avail. I'm trying to combine two Word 2007 docs that each
have completely different formatting (one was a conversion from a PDF).

Please advise. Thank you. Steve
 
Back
Top