Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have 31 documents I need to merge into one, using Word 2007 on Windows 7. I read that you can go to Insert -> Object -> Text from file and select the documents you need. I did that and it worked fine. The thing is, each document is right against the last one. Is there any way to make it so each document starts on a new page, other than manually inserting page breaks?

Here are some example pictures in case it's not clear. Suppose "document1" and "document2" are two documents I want to merge.

How Word does it: how word does it

How I want it to be: how it should be

share|improve this question
add comment

2 Answers 2

up vote 3 down vote accepted

There is a newpage feature in MS-Word. Here you can find more on office 2003 http://office.microsoft.com/en-us/word-help/insert-a-manual-page-break-HP005189549.aspx For the other Office versions read the links below:

Office 2007 Office 2010

If you want to read up on MS Office Document structure read take a look at this link: http://office.microsoft.com/en-us/word-help/CH006082987.aspx

EDIT:

Use this Macro, it will throw an error, if you have no open document:

Sub OpenMultipleFiles()
Dim fDialog As FileDialog

Set fDialog = Application.FileDialog(msoFileDialogFilePicker)
With fDialog
.AllowMultiSelect = True
.InitialView = msoFileDialogViewList
If .Show <> -1 Then
MsgBox "Cancelled By User", , "Cancelled"
Exit Sub
End If
End With
For i = 1 To fDialog.SelectedItems.Count
Selection.InsertFile fDialog.SelectedItems.Item(i)
Selection.InsertBreak Type:=wdPageBreak

Next i
End Sub

While in Word press ALT+F11 this brings up the VBA Editor. Afterwards expand Normal to see the Modul folder. If it does not exist click on Normal -> Insert -> Modul Paste the Macro and save.

Afterwards you can add a button with the macro to your toolbars.

share|improve this answer
    
I already know that; I was asking for a way to tell Word to insert this automatically each time a new document is appended. –  Javier Badia Feb 17 '11 at 14:07
    
use the macro from the edit above –  Darokthar Feb 17 '11 at 15:19
    
@Javier Badia is the macro above working in Word 2007? –  Darokthar Feb 21 '11 at 19:25
    
Yeah, that worked. Thanks. –  Javier Badia Feb 22 '11 at 0:09
    
@Javier Badia thanks for the info. Then i will save it for myself. I'm not using windows at the moment but one does never know, if it comes in handy in the future. –  Darokthar Feb 22 '11 at 0:18
add comment

As far as I know you can't automate it at import, but I do know there is a quick way of inserting page breaks by pressing Ctrl + Enter before the first word of each new document.

share|improve this answer
    
If nothing else appears, this will be helpful. Thanks. BTW, since all the documents have the same structure, wouldn't it be possible to use something like VBA to automatically insert them at the right places? –  Javier Badia Feb 17 '11 at 14:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.