#1   Report Post  
Posted to microsoft.public.word.formatting.longdocs
Bernie Dwyer Bernie Dwyer is offline
external usenet poster
 
Posts: 2
Default Insert section break

Hello! My wife is editing a 327-page book, and is rapidly learning about
some of Word's quirkier features :-)

This is Word 2000.

Is there a way to insert a "next page section break" (for chapter
breaks) without having the new section having the "same as previous"
button set (in header and footer), i.e. how to insert a section break
that isn't populated with the same headers and footers as the previous
section? I've done a quick search of this group, some of the other word
groups, and searched word.mvps.org, but no luck.

Is it possible to intercept the "insert break" function with a macro to
do what she wants? If so, has anyone else done it already?

Thanks

--

Bernie Dwyer
There are no 'z' in my address
  #2   Report Post  
Posted to microsoft.public.word.formatting.longdocs
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Insert section break

Running a macro with the following code when the selection is at the point
where you want to insert the section break will insert the break and unlink
the headers and footers from those in the previous section. Note, the
headers and footers will still contain the same text as those in the
previous section, but it can be edited/deleted without affecting that in the
previous section.

Dim i As Long
Selection.InsertBreak Type:=wdSectionBreakNextPage
With ActiveDocument
i = .Sections.Count
With .Sections(i)
.Headers(wdHeaderFooterFirstPage).LinkToPrevious = False
.Headers(wdHeaderFooterPrimary).LinkToPrevious = False
.Footers(wdHeaderFooterFirstPage).LinkToPrevious = False
.Footers(wdHeaderFooterPrimary).LinkToPrevious = False
End With
End With

If you want the new headers and footers to be blank, use

Dim i As Long
Selection.InsertBreak Type:=wdSectionBreakNextPage
With ActiveDocument
i = .Sections.Count
With .Sections(i)
.Headers(wdHeaderFooterFirstPage).LinkToPrevious = False
.Headers(wdHeaderFooterFirstPage).Range.Delete
.Headers(wdHeaderFooterPrimary).LinkToPrevious = False
.Headers(wdHeaderFooterPrimary).Range.Delete
.Footers(wdHeaderFooterFirstPage).LinkToPrevious = False
.Footers(wdHeaderFooterFirstPage).Range.Delete
.Footers(wdHeaderFooterPrimary).LinkToPrevious = False
.Footers(wdHeaderFooterPrimary).Range.Delete
End With
End With



--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Bernie Dwyer" wrote in message
...
Hello! My wife is editing a 327-page book, and is rapidly learning about
some of Word's quirkier features :-)

This is Word 2000.

Is there a way to insert a "next page section break" (for chapter
breaks) without having the new section having the "same as previous"
button set (in header and footer), i.e. how to insert a section break
that isn't populated with the same headers and footers as the previous
section? I've done a quick search of this group, some of the other word
groups, and searched word.mvps.org, but no luck.

Is it possible to intercept the "insert break" function with a macro to
do what she wants? If so, has anyone else done it already?

Thanks

--

Bernie Dwyer
There are no 'z' in my address



  #3   Report Post  
Posted to microsoft.public.word.formatting.longdocs
Bernie Dwyer Bernie Dwyer is offline
external usenet poster
 
Posts: 2
Default Insert section break

Doug Robbins - Word MVP wrote:

Running a macro with the following code when the selection is at the point
where you want to insert the section break will insert the break and unlink
the headers and footers from those in the previous section. Note, the
headers and footers will still contain the same text as those in the
previous section, but it can be edited/deleted without affecting that in the
previous section.


macro snipped

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP


Great, thanks very much.

--

Bernie Dwyer
There are no 'z' in my address
  #4   Report Post  
Posted to microsoft.public.word.formatting.longdocs
DeanH DeanH is offline
external usenet poster
 
Posts: 1,862
Default Insert section break

If the changes to the header/footer are the text that is reflected in the new
section, i.e. the section/chapter title, then try using StyleRef. You will
not need section breaks, as the header/footer will auto change as the
section/chapter text changes, very useful.
Hope this useful.
DeanH

"Bernie Dwyer" wrote:

Hello! My wife is editing a 327-page book, and is rapidly learning about
some of Word's quirkier features :-)

This is Word 2000.

Is there a way to insert a "next page section break" (for chapter
breaks) without having the new section having the "same as previous"
button set (in header and footer), i.e. how to insert a section break
that isn't populated with the same headers and footers as the previous
section? I've done a quick search of this group, some of the other word
groups, and searched word.mvps.org, but no luck.

Is it possible to intercept the "insert break" function with a macro to
do what she wants? If so, has anyone else done it already?

Thanks

--

Bernie Dwyer
There are no 'z' in my address

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't insert Next Page section break Tory Microsoft Word Help 3 March 28th 07 08:42 AM
how do you insert a section break before and after an embedded ob. grace Microsoft Word Help 5 July 18th 06 03:01 PM
Insert a section break and keep section together on one page Teri Page Layout 4 April 25th 06 06:20 PM
Can't insert "continuous" section break Cowtoon Microsoft Word Help 3 March 16th 05 10:31 PM
insert "Section Break-Next Page" but get "Section Break (Odd Page. PsyGuy Page Layout 2 December 22nd 04 08:27 PM


All times are GMT +1. The time now is 11:23 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"