• Getting Heading text into footer (word 2000)

    Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Getting Heading text into footer (word 2000)

    Author
    Topic
    #392259

    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?

    Viewing 0 reply threads
    Author
    Replies
    • #703537

      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.

      • #703762

        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!! bravo

    Viewing 0 reply threads
    Reply To: Getting Heading text into footer (word 2000)

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

    Your information: