Results 1 to 3 of 3
  1. #1
    Star Lounger
    Join Date
    Mar 2002
    Location
    San Jose, California, USA
    Posts
    82
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Getting Heading text into footer (word 2000)

    I am building a new document template and would like to have the text entered in a Heading 1 to be automatically copied to a position in the footer, so that the current section title is visible across all pages in that section, until a new section and heading 1 text take over.

    Any suggestions?
    Attached Files Attached Files

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Getting Heading text into footer (word 2000)

    Take a look at the STYLEREF field. It has a couple of switches that will look up for the last paragraph or down for the next paragraph in the style you tell it to look for. It has a length limit, but I don't think that will be a problem in the case of a heading. You can style the results of the field any way you like in the header, it does not need to carry over the Heading X style applied to the text you are copying.

    If you use the Insert > Field... dialog, choose the Links and Reference category, you can insert something that ends up looking like this:

    { STYLEREF "Heading 1" * MERGEFORMAT }

    As you may know, to insert fields manually, you use CTrl+F9 to create the field braces.

  3. #3
    Star Lounger
    Join Date
    Mar 2002
    Location
    San Jose, California, USA
    Posts
    82
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Re: Getting Heading text into footer (word 2000)

    You Rock!! In fact the "Mergeformat" does funky things with boldening part of the text so I didn't need it. I also looked at the Word help file for STYLEREF. Under the "Print Dictionary Style headers and footers" it gives the same answer. There is an error (Surprise, Surprise) where they don't include quote marks for the Style to search for. Results in a "Style not found" error.

    Go Sharks!! <img src=/S/bravo.gif border=0 alt=bravo width=16 height=30>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •