L
Losts
All,
I have a syle set up with numbering and outlining. Generally, I believe it
is set up correctly. But when I try to insert a page break in my heading 1
level so that the heading apears immediately after the page break (I do not
want all heading 1 in a new page, only some), ListValue and ListString seems
to reset to "1" and "1." respectively. Interesting, the number displayed in
word is correct, its programmically that it returns the wrong figure.
i.e. If the 6th item of my outline level 1, I wish it to start on a new
page, I would insert a pagebreak on the 'left' of this heading. Therefore the
page would look like:
---Page Break---
6. Heading Title
(notice no space between the break and the title)
But when i select this header and get the listvalue and liststring values
through Selection.Paragraphs(1).Range.ListFormat.* , it returns "1" and "1."
despite displaying correctly in word.
So my questions are the following:
-Does anyone know why this is happening?
-If so, how would I be able to prevent this and/or get the correct
ListString value for this outline?
Some notes:
-This does not occur if I leave a space between the page break and heading.
-Once 'reset' I am unable to get the correct listvalue and liststring, even
if I insert a linebreak between the page break and header, remove all
formatings, and reapply my custom heading 1 style.
-I am using word 2003.
Any help or comments would be greatly appreciated.
Best regards,
-Losts
I have a syle set up with numbering and outlining. Generally, I believe it
is set up correctly. But when I try to insert a page break in my heading 1
level so that the heading apears immediately after the page break (I do not
want all heading 1 in a new page, only some), ListValue and ListString seems
to reset to "1" and "1." respectively. Interesting, the number displayed in
word is correct, its programmically that it returns the wrong figure.
i.e. If the 6th item of my outline level 1, I wish it to start on a new
page, I would insert a pagebreak on the 'left' of this heading. Therefore the
page would look like:
---Page Break---
6. Heading Title
(notice no space between the break and the title)
But when i select this header and get the listvalue and liststring values
through Selection.Paragraphs(1).Range.ListFormat.* , it returns "1" and "1."
despite displaying correctly in word.
So my questions are the following:
-Does anyone know why this is happening?
-If so, how would I be able to prevent this and/or get the correct
ListString value for this outline?
Some notes:
-This does not occur if I leave a space between the page break and heading.
-Once 'reset' I am unable to get the correct listvalue and liststring, even
if I insert a linebreak between the page break and header, remove all
formatings, and reapply my custom heading 1 style.
-I am using word 2003.
Any help or comments would be greatly appreciated.
Best regards,
-Losts