Discussion:
Next Page vs Continuous Section breaks
(too old to reply)
JillE
2009-04-08 13:31:02 UTC
Permalink
In Word 2000, the following code inserted a next page section break.

Selection.InsertBreak Type:=wdSectionBreakNextPage

In Word 2003, the same code does not accomplish the same thing...instead
it's inserting a continuous section break.

Is anyone aware of a workaround for this situation? It's really messed up an
existing complex macro!

Thanks,
Jill
Graham Mayor
2009-04-08 13:41:25 UTC
Permalink
Selection.InsertBreak Type:=wdSectionBreakNextPage
works in 2003 (and 2007)
Selection.InsertBreak Type:=wdSectionBreakContinuous
inserts a continuous break.
I guess you'll need to recheck that complex macro ;)
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Post by JillE
In Word 2000, the following code inserted a next page section break.
Selection.InsertBreak Type:=wdSectionBreakNextPage
In Word 2003, the same code does not accomplish the same
thing...instead it's inserting a continuous section break.
Is anyone aware of a workaround for this situation? It's really
messed up an existing complex macro!
Thanks,
Jill
JillE
2009-04-08 14:21:01 UTC
Permalink
Thanks Graham, I hear your message however I am still faced with the same
problem. Using 2000 the code absolutely inserted a next page section break,
but in 2003 the same code insertes a continuous section break. No change to
the macro occurred between these releases so I am perplexed to say the least.
Post by JillE
Selection.InsertBreak Type:=wdSectionBreakNextPage
works in 2003 (and 2007)
Selection.InsertBreak Type:=wdSectionBreakContinuous
inserts a continuous break.
I guess you'll need to recheck that complex macro ;)
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Post by JillE
In Word 2000, the following code inserted a next page section break.
Selection.InsertBreak Type:=wdSectionBreakNextPage
In Word 2003, the same code does not accomplish the same
thing...instead it's inserting a continuous section break.
Is anyone aware of a workaround for this situation? It's really
messed up an existing complex macro!
Thanks,
Jill
Graham Mayor
2009-04-09 06:23:29 UTC
Permalink
What do you want me to say? The codes as written work as expected here.
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Post by JillE
Thanks Graham, I hear your message however I am still faced with the
same problem. Using 2000 the code absolutely inserted a next page
section break, but in 2003 the same code insertes a continuous
section break. No change to the macro occurred between these releases
so I am perplexed to say the least.
Post by JillE
Selection.InsertBreak Type:=wdSectionBreakNextPage
works in 2003 (and 2007)
Selection.InsertBreak Type:=wdSectionBreakContinuous
inserts a continuous break.
I guess you'll need to recheck that complex macro ;)
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Post by JillE
In Word 2000, the following code inserted a next page section break.
Selection.InsertBreak Type:=wdSectionBreakNextPage
In Word 2003, the same code does not accomplish the same
thing...instead it's inserting a continuous section break.
Is anyone aware of a workaround for this situation? It's really
messed up an existing complex macro!
Thanks,
Jill
Loading...