
Signature
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org
Hi Jean-Guy,
i'm ashamed, i was on the completely wrong track,
being so obsessed with section breaks.

Signature
Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
Jean-Guy Marcil - 09 Sep 2006 00:14 GMT
Helmut Weber was telling us:
Helmut Weber nous racontait que :
> Hi Jean-Guy,
>
> i'm ashamed, i was on the completely wrong track,
> being so obsessed with section breaks.
LOL
Not really, no need to be ashamed, you were just doing some lateral
thinking!

Signature
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org
Thanks. That does it!
Actually, I'm want the Section Breaks to preapre the document for Headers
and Footers (which I didn't originally plan to use...and wouldn't if it was
up to me). I was a bit distressed to find that there was no option to use the
Replace feature to switch Page Breaks for Section Breaks.
Now, I'm going to (hopefully) use this code as part of a bigger routine that
will take the first paragraph of Heading 2 text in each section and make that
part of the Header, along with page numbering that starts at one for each
Section.
tj
> tjtjjtjt was telling us:
> tjtjjtjt nous racontait que :
[quoted text clipped - 18 lines]
> But watch out! Adding section breaks can mess up your headers/footers/page
> numbering/etc..
Russ - 09 Sep 2006 18:12 GMT
Tjtjjtjt,
> Thanks. That does it!
>
[quoted text clipped - 6 lines]
> will take the first paragraph of Heading 2 text in each section and make that
> part of the Header,
You know how dictionaries can show the first and last definition on a page
header?
Check out this information on styleref fields used in headers in Word:
http://tinyurl.com/kcn4x
> along with page numbering that starts at one for each
> Section.
[quoted text clipped - 23 lines]
>> But watch out! Adding section breaks can mess up your headers/footers/page
>> numbering/etc..

Signature
Russ
drsmN0SPAMikleAThotmailD0Tcom.INVALID
Tony Jollans - 09 Sep 2006 20:22 GMT
> I was a bit distressed to find that there was no option to use the
> Replace feature to switch Page Breaks for Section Breaks.
You can do it using F&R ...
Add a section break to your document, select it and copy it, delete it, and
then Replace All ^m with ^c.
The disadvantage - which may not affect you very much - is that it copies in
section formatting from the section you first created rather than inheriting
from where the break is.
> will take the first paragraph of Heading 2 text in each section and make that
> part of the Header
Take a look at StyleRef Fields for this
> along with page numbering that starts at one for each
> Section.
Having replaced Page Breaks with Section Breaks are you not going to have a
lot of Page 1s?
--
Enjoy,
Tony
tjtjjtjt - 10 Sep 2006 00:51 GMT
Word 2003 does not seem to let me select a Section Break and Copy it into the
Replace with box. If I try with the keyboard, it only selects the Paragraph
mark on the same line with the Section Break and/or any text on that line.
Perhaps I'm missing a step, but I don't see what that could be.
Using ^c in the Replace with box puts ^c in the document instead of a
Section Break.

Signature
tj
> > I was a bit distressed to find that there was no option to use the
> > Replace feature to switch Page Breaks for Section Breaks.
[quoted text clipped - 23 lines]
> Enjoy,
> Tony
Tony Jollans - 10 Sep 2006 06:07 GMT
Perhaps I should have been more explicit. Copy the section break but do not
paste it anywhere; ^c uses the contents of the clipboard for the
replacement.
--
Enjoy,
Tony
> Word 2003 does not seem to let me select a Section Break and Copy it into the
> Replace with box. If I try with the keyboard, it only selects the Paragraph
[quoted text clipped - 34 lines]
> > Enjoy,
> > Tony