Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Numbering / February 2005

Tip: Looking for answers? Try searching our database.

Two styleRef in one page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Axel - 24 Feb 2005 11:39 GMT
Hi
I cannot belief that I am the first one having this problem:

In the header of the page i want to refer to Heading one and Heading
two. So it should look like this

_______________________
Heading 1
  Heading 2
_______________________

The problem occurs, when one page starts with a sub chapter marked by
Heading 2 followed by a new chapter marked by Heading 1.

The result is this:
_____________________
Heading 1 (new chapter)
  Heading 2 (last sub chapter of old chapter)
_____________________

What options do I have to activate or what is appropriate VBA code to
make the first line referring to the last chapters title which can be
found on one of the previous pages?

Thank you very much
Axel
G.G.Yagoda - 24 Feb 2005 19:35 GMT
You're right, this problem has come up before and I don't recall any
satisfactory solution using STYLEREF fields being offered.  If a
STYLEREF solution does exist, surely Klaus Lincke would know it.

May I suggest a workaround?

Finish the whole document first so nothing will change on you.  Then at
the top of each page insert a TextBox, no lines, and use Insert >
Cross-reference, Numbered items to reference your chapter and
subchapter headings.  That gives you absolute control over the page
each reference appears on.

Unlike Header/Footers, TextBoxes have the advantage of allowing
different references to appear in the same space.

It's a little more work, sure, but it beats manually typing in each
chapter/subchapter at the top of the page.  And who knows, Klaus Lincke
or some other STYLEREF expert may come along with the perfect STYLEREF
solution.
Klaus Linke - 24 Feb 2005 20:30 GMT
> And who knows, Klaus Lincke or some other STYLEREF
> expert may come along with the perfect STYLEREF solution.

Unlikely... At least, it won't be me.
For unconventional headers like this (previous chapter heading rather than the one that's on the page), your textbox solution is a fine work-around.

Greetings,
Klaus
Charles Kenyon - 24 Feb 2005 22:39 GMT
What occurs to me, since the styles being referred to are heading styles, is
some sort of cross-reference to the page numbers being evaluated in a
conditional field. This could work to at least eliminate heading 2 text from
a previous page going under a heading 1 from this page. Wouldn't help,
though, with a heading 2, heading 1 on the same page.
Signature


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.

> And who knows, Klaus Lincke or some other STYLEREF
> expert may come along with the perfect STYLEREF solution.

Unlikely... At least, it won't be me.
For unconventional headers like this (previous chapter heading rather than
the one that's on the page), your textbox solution is a fine work-around.

Greetings,
Klaus
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.