View Single Post
  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman
 
Posts: n/a
Default Add section break before every Heading 1

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
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" wrote in
message ...
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?