You need to manually insert a pair of section breaks, one at the start and the other at the end of the change in page orientation. You can select continuous or next page break, but with the change in orientation it will automatically become a next page.
Inserting a Break with a Macro
http://word.tips.net/T000744_Inserting_a_Break_with_a_Macro.html
Summary: Inserting a break in your document is easy. You may think that inserting one using a macro is more complex, but it isn't. Just use the InsertBreak method, described in this tip. (This tip works with
Word 97 | 2000 | 2002 | 2003 | 2007.)
You know how to insert breaks in your text using menu commands, but you can also do the same thing under control of your macro. The InsertBreak method inserts any type of break in your document. The syntax is:
Selection.InsertBreak Type:=BreakValue
where BreakValue
is one of the following values:
BreakValue
|
Result
|
wdPageBreak
|
Page break
|
wdColumnBreak
|
Column break
|
wdSectionBreakNextPage
|
Next-page section break
|
wdSectionBreakContinuous
|
Continuous section break
|
wdSectionBreakEvenPage
|
Even-page section break
|
wdSectionBreakOddPage
|
Odd-page section break
|
wdLineBreak
|
Line break
|
You could use these macros to insert the breaks for you, rather than mousing it
Separate File by Section
The following macro copies text one section at a time and saves that text in a new document. The macro uses the pre-defined bookmark \section to create the new document. This macro is useful for breaking up a mail merge
"Merge to New Document" file.
Sub BreakOnSection()
' Used to set criteria for moving through the document by section.
Application.Browser.Target = wdBrowseSection
'A mailmerge documents ends with a section break next page.
'Subtracting one from the section count stop error message.
For i = 1 To ((ActiveDocument.Sections.Count) - 1)
'Select and copy the section text to the clipboard
ActiveDocument.Bookmarks("\Section").Range.Copy
'Create a new document to paste text from clipboard.
Documents.Add
Selection.Paste
' Removes the break that is copied at the end of the section, if any.
Selection.MoveUp Unit:=wdLine, Count:=1, Extend:=wdExtend
Selection.Delete Unit:=wdCharacter, Count:=1
ChangeFileOpenDirectory "C:\"
DocNum = DocNum + 1
ActiveDocument.SaveAs FileName:="test_" & DocNum & ".doc"
ActiveDocument.Close
' Move the selection to the next section in the document
Application.Browser.Next
Next i
ActiveDocument.Close savechanges:=wdDoNotSaveChanges
End Sub
NOTE: When you use this code to select and copy the text content of the document, the header and footer are not retained. Styles, fonts and layout may change if the main file and the new document are from different
templates, but direct formatting is maintained.
Insert Section Break before a Style
http://answers.microsoft.com/en-us/office/forum/office_2010-word/splitting-a-word-document/a7c8f352-1279-495a-a354-841d141537f8#footer
Macro to be used with the Separate by Style tip.
Here is a macro to insert a section break before every Heading 1 paragraph (except at the beginning of the document). You can change the stye if you like
Sub CreateSections()
Application.ScreenUpdating = False
Selection.HomeKey Unit:=wdStory
With Selection.Find
.ClearFormatting
.Replacement.ClearFormatting
.Format = True
' You can specify another style if you like
.Style = ActiveDocument.Styles(wdStyleHeading1)
.Forward = True
.Wrap = wdFindStop
Do While .Execute
Selection.Collapse
If Selection.Start > 0 Then
Selection.InsertBreak Type:=wdSectionBreakNextPage
End If
.Execute
Loop
End With
Application.ScreenUpdating = True
End Sub
BTW, if you insert one section break manually, you can copy it, then enter ^c in the Replace With box to refer to the contents of the clipboard. So in this example, you could use ^c^& in the Replace With box to refer
to the found text (the heading) followed by the contents of the clipboard (a section break).
Copying a section break is easier if you display non-breaking characters (¶)