Reply
 
Thread Tools Display Modes
  #1   Report Post  
Rita
 
Posts: n/a
Default Problem on SytleRef

Hi guy,

I have created a document, with many chapters, each chapter title has
been applied a custom style called the "Chapter Style"

In the header, I choose (insert - field - StyleRef - "Chapter Style" )

that was fine, but one problem is :


"at the last page of a chapter, the header is showing the next chapter !"



e.g.


Chapter 1 --- This is the header
------------
Page 1
Chapter 1.


Chapter 2 --- This should be Chapter 1 !!!
-------------
Page 2
end of Chapter 1


CHapter 2
-------------
Page 3
start of Chapter 2

CHapter 2
-------------
Page 4
still Chapter 2

CHapter 2
-------------
Page 5
still Chapter 2

CHapter 3 --- This should be Chapter 2 !!!
-------------
Page 6
end of Chapter 2



hope you can understand...

any reason for that funny error ?

many thanks....






  #2   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default

Possibly you have inserted a manual page break before the Chapter Style
paragraph and the StyleRef is picking that up? If that's the case, format
the heading as "Page break before" instead.

--
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.

"Rita" wrote in message
...
Hi guy,

I have created a document, with many chapters, each chapter title has
been applied a custom style called the "Chapter Style"

In the header, I choose (insert - field - StyleRef - "Chapter Style" )

that was fine, but one problem is :


"at the last page of a chapter, the header is showing the next chapter !"



e.g.


Chapter 1 --- This is the header
------------
Page 1
Chapter 1.


Chapter 2 --- This should be Chapter 1 !!!
-------------
Page 2
end of Chapter 1


CHapter 2
-------------
Page 3
start of Chapter 2

CHapter 2
-------------
Page 4
still Chapter 2

CHapter 2
-------------
Page 5
still Chapter 2

CHapter 3 --- This should be Chapter 2 !!!
-------------
Page 6
end of Chapter 2



hope you can understand...

any reason for that funny error ?

many thanks....







  #3   Report Post  
Rita
 
Posts: n/a
Default

yes i have manual page breaks

but what do you mean

" format the heading as "Page break before" instead."


thanks....



Suzanne S. Barnhill wrote:
Possibly you have inserted a manual page break before the Chapter Style
paragraph and the StyleRef is picking that up? If that's the case, format
the heading as "Page break before" instead.

  #4   Report Post  
Rita
 
Posts: n/a
Default

i have used the "Page break before"

but same problem...




Rita wrote:
yes i have manual page breaks

but what do you mean

" format the heading as "Page break before" instead."


thanks....



Suzanne S. Barnhill wrote:

Possibly you have inserted a manual page break before the Chapter Style
paragraph and the StyleRef is picking that up? If that's the case, format
the heading as "Page break before" instead.

  #5   Report Post  
Charles Kenyon
 
Posts: n/a
Default

Do you still have the manual page break? The manual page break will be the
beginning of the paragraph that includes your heading. In the styleref field
(which can't really show a manual page break) you will get everything from
the line that contains the manual page break, usually nothing.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

"Rita" wrote in message
...
i have used the "Page break before"

but same problem...




Rita wrote:
yes i have manual page breaks

but what do you mean

" format the heading as "Page break before" instead."


thanks....



Suzanne S. Barnhill wrote:

Possibly you have inserted a manual page break before the Chapter Style
paragraph and the StyleRef is picking that up? If that's the case,
format
the heading as "Page break before" instead.





  #6   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default

Format | Paragraph | Line and Page Breaks tab: check the box for "Page break
before." Then delete the manual page break you inserted.

--
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.

"Rita" wrote in message
...
yes i have manual page breaks

but what do you mean

" format the heading as "Page break before" instead."


thanks....



Suzanne S. Barnhill wrote:
Possibly you have inserted a manual page break before the Chapter Style
paragraph and the StyleRef is picking that up? If that's the case,

format
the heading as "Page break before" instead.


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word Printing Problem Nick Demetriou Microsoft Word Help 5 April 7th 05 12:15 AM
Problem with Textboxes Gary McGill Page Layout 10 March 31st 05 03:23 PM
Attaching Expansion Pack to Word Documents - Puzzling Problem Jose Microsoft Word Help 1 March 3rd 05 10:14 AM
Problem formatting Wordpad (and often Word) Chad Harris New Users 1 December 27th 04 10:03 PM
Word User Network Problem Alpine Tom Microsoft Word Help 1 December 17th 04 04:51 PM


All times are GMT +1. The time now is 08:47 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"