• Word 2003 – Need something like STYLEREF

    Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Word 2003 – Need something like STYLEREF

    Author
    Topic
    #465343

    One of our attorneys is putting together a timeline formatted with each year as a centered heading, followed below by the dates of various events during that year, as follows:

    2000

    Jan. 10 – event 1
    Mar. 15 – event 2
    etc.

    2001

    Feb. 22 – event 3
    Nov. 16 – even 4

    Etc.

    Since some years have several pages’ worth of events (and thus the year is not visible on the later pages), he would like to have the current year (i.e., the year of the first event on the page) display in the header on each page. I’m familiar with the STYLEREF field, which displays the last occurrence of a particular style on a page, but I don’t know of a field that does this for the first occurrence of that style on the page.

    I know this could be done using continuous section breaks for each year heading, but I’d rather not do it that way since this attorney does most of his own work and I’m afraid it would be too confusing.

    Is there an easy answer to this?

    Russ

    Viewing 4 reply threads
    Author
    Replies
    • #1195359

      Russ,

      As far as I know, the default for a StyleRef field is to search from the top of the page to the bottom – there is a switch you can set to make it switch to searching from the bottom to the top, but if you leave it at the default, it should search from the top down. See attached sample – does this do what you’re looking for it to do?

      Gary

    • #1195377

      Gary,

      You had the right idea, but unfortunately, there’s a complicating factor in my document. I just did a little testing using your suggestion, and here’s the snag: When, for example, the heading “2002” begins on page 2 with several entries underneath, and then page 3 continues with several additional 2002 entries, and then part-way down page 3 a new heading “2003” begins, that “2003” heading is what is captured in the STYLEREF command at the top of page 3 (since it’s the first occurrence of that heading style on the page). I need it to say “2002” at the top of page 3 since 2002 is still in effect when page 3 begins.

      I think I’m just going to use continuous section breaks, which will give me multiple headers that I can fix exactly like I need.

      But thanks for your idea. I learned something new from it.

      Russ

    • #1195398

      Oh, OK – I see what you’re saying. Then you may need to do something with continuous section breaks, as you say.

      Gary

    • #1195491

      Have you considered putting each year in a table, with the year as the table heading, and setting the heading rows to repeat?

      Pam

    • #1195527

      That’s a good idea, Pam. Funny you should mention it–the attorney just emailed me today asking if the document would be easier to read in a table! (When I create documents of that sort myself, I usually use a table.)

      Russ

    Viewing 4 reply threads
    Reply To: Word 2003 – Need something like STYLEREF

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: