PC Review


Reply
Thread Tools Rate Thread

Add section break before every Heading 1

 
 
=?Utf-8?B?Sm9obiBpbiBTYXJhdG9nYQ==?=
Guest
Posts: n/a
 
      6th Mar 2006
In order to force footnotes to begin renumbering, I want to automatically put
a section break before every heading with Heading 1 style.

A style can have a 'page break before' but not a 'section break before'. I
thought I could set 'page break before' and then do a find-and-replace,
replacing every page break with a section break. But that fails for two
reasons. You can't search on these automatic page breaks, and even if you
could, you can't put 'section break' in a replace field.

Anyone have an idea how to do this?

 
Reply With Quote
 
 
 
 
Suzanne S. Barnhill
Guest
Posts: n/a
 
      6th Mar 2006
You can actually use a section break as the replacement text if you (a)
select and copy a section break formatted as desired (that is, Next Page,
Odd Page, etc.), and (b) use ^c (Clipboard contents) in the "Replace with"
box.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"John in Saratoga" <(E-Mail Removed)> wrote in
message news:2D4601D7-D964-4CAB-A954-(E-Mail Removed)...
> In order to force footnotes to begin renumbering, I want to automatically

put
> a section break before every heading with Heading 1 style.
>
> A style can have a 'page break before' but not a 'section break before'. I
> thought I could set 'page break before' and then do a find-and-replace,
> replacing every page break with a section break. But that fails for two
> reasons. You can't search on these automatic page breaks, and even if you
> could, you can't put 'section break' in a replace field.
>
> Anyone have an idea how to do this?
>


 
Reply With Quote
 
=?Utf-8?B?Sm9obiBpbiBTYXJhdG9nYQ==?=
Guest
Posts: n/a
 
      6th Mar 2006
Well that's useful to know. Thanks Suzanne!

I still can't Find the auto page break that comes before my Heading 1. And
if I Find-and-Replace on the style Heading 1, the text itself gets replaced
(as I'd expect) with my clipboard contents.

Is there some special character that can go in the Replace box that means
'whatever text was found during the Find.' Then I could put '^c' followed by
this special character, and I'd be there.

"Suzanne S. Barnhill" wrote:

> You can actually use a section break as the replacement text if you (a)
> select and copy a section break formatted as desired (that is, Next Page,
> Odd Page, etc.), and (b) use ^c (Clipboard contents) in the "Replace with"
> box.
>
> --
> Suzanne S. Barnhill
> Microsoft MVP (Word)
> Words into Type
> Fairhope, Alabama USA
> Word MVP FAQ site: http://word.mvps.org
> Email cannot be acknowledged; please post all follow-ups to the newsgroup so
> all may benefit.
>
> "John in Saratoga" <(E-Mail Removed)> wrote in
> message news:2D4601D7-D964-4CAB-A954-(E-Mail Removed)...
> > In order to force footnotes to begin renumbering, I want to automatically

> put
> > a section break before every heading with Heading 1 style.
> >
> > A style can have a 'page break before' but not a 'section break before'. I
> > thought I could set 'page break before' and then do a find-and-replace,
> > replacing every page break with a section break. But that fails for two
> > reasons. You can't search on these automatic page breaks, and even if you
> > could, you can't put 'section break' in a replace field.
> >
> > Anyone have an idea how to do this?
> >

>
>

 
Reply With Quote
 
Jay Freedman
Guest
Posts: n/a
 
      7th Mar 2006
Yes, the code ^& represents the text that was found. So the
replacement expression you want is ^&^c .

All these codes are listed in the dialog. Click the More button to
expand the dialog, and then click the Special button at the bottom.
The list is different depending on whether the cursor was in the Find
What box or the Replace With box just before you click the Special
button. The ^& code is only on the Replace With list, identified as
"Find What Text".

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.

On Mon, 6 Mar 2006 15:48:30 -0800, John in Saratoga
<(E-Mail Removed)> wrote:

>Well that's useful to know. Thanks Suzanne!
>
>I still can't Find the auto page break that comes before my Heading 1. And
>if I Find-and-Replace on the style Heading 1, the text itself gets replaced
>(as I'd expect) with my clipboard contents.
>
>Is there some special character that can go in the Replace box that means
>'whatever text was found during the Find.' Then I could put '^c' followed by
>this special character, and I'd be there.
>
>"Suzanne S. Barnhill" wrote:
>
>> You can actually use a section break as the replacement text if you (a)
>> select and copy a section break formatted as desired (that is, Next Page,
>> Odd Page, etc.), and (b) use ^c (Clipboard contents) in the "Replace with"
>> box.
>>
>> --
>> Suzanne S. Barnhill
>> Microsoft MVP (Word)
>> Words into Type
>> Fairhope, Alabama USA
>> Word MVP FAQ site: http://word.mvps.org
>> Email cannot be acknowledged; please post all follow-ups to the newsgroup so
>> all may benefit.
>>
>> "John in Saratoga" <(E-Mail Removed)> wrote in
>> message news:2D4601D7-D964-4CAB-A954-(E-Mail Removed)...
>> > In order to force footnotes to begin renumbering, I want to automatically

>> put
>> > a section break before every heading with Heading 1 style.
>> >
>> > A style can have a 'page break before' but not a 'section break before'. I
>> > thought I could set 'page break before' and then do a find-and-replace,
>> > replacing every page break with a section break. But that fails for two
>> > reasons. You can't search on these automatic page breaks, and even if you
>> > could, you can't put 'section break' in a replace field.
>> >
>> > Anyone have an idea how to do this?
>> >

>>
>>

 
Reply With Quote
 
=?Utf-8?B?Sm9obiBpbiBTYXJhdG9nYQ==?=
Guest
Posts: n/a
 
      7th Mar 2006
I looked at that Special list several times. I don't know why I didn't notice
"Find what text". This all lets me do what I need. Thanks Suzanne and Jay.

Now if I can find a way to stick it all in a macro, I'll be in great shape.
(I need to do this frequently.)

In a macro, I'd have to put the section break in the clipboard. Hmmm. Don't
know how to do that. Or maybe better would be some kind of loop on Find,
MoveLeft, and InsertBreak. I need to learn how to loop on Finds.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I get a section break (not a page break) as part of a style =?Utf-8?B?UEoyOTQz?= Microsoft Word Document Management 1 5th Sep 2007 10:43 AM
repeat section heading on page break? ladyhawke Microsoft Word Document Management 3 27th Jul 2006 01:10 PM
Section Breaks Question: Inserts a Continuous section break - why? =?Utf-8?B?V2VzbGV5NDU=?= Microsoft Word Document Management 3 7th Nov 2005 09:40 PM
Can a section break be embedded in a chapter heading? Colin Higbie Microsoft Word Document Management 3 8th Feb 2005 06:24 PM
Re: Word 2003 Section Break Page Break Bill Foley Microsoft Word Document Management 0 11th Aug 2004 06:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:38 AM.