+ Reply to Thread
Results 1 to 4 of 4

Create Hyperlink on a Cross Reference to STYLEREF Heading 2 in the footer? PLEASE HELP

  1. #1
    Registered User
    Join Date
    10-04-2011
    Location
    MA
    MS-Off Ver
    Excel 2007
    Posts
    16

    Exclamation Create Hyperlink on a Cross Reference to STYLEREF Heading 2 in the footer? PLEASE HELP

    Hi all,
    I am struggling big time to figure this out, can anyone help please.

    I have this: { STYLEREF "Heading 2" \l \* MERGEFORMAT }

    It is in the footer for a large technical manual, and I need it to act as a Hyperlink, but I NEED it in the footer, and I need the link to show after a PDF conversion.

    I cant find anything that will work.

    I have tried the \h but I cant get the code right, if that would even work.

    I can get similar items to work and convert, but they are all base on Bookmarks. Is there a way to bookmark a STYLEREF maybe?

    Can anyone help?

    Much thanks

  2. #2
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,835

    Re: Create Hyperlink on a Cross Reference to STYLEREF Heading 2 in the footer? PLEASE HELP

    The short answer is no. StyleRef fields do not support hyperlinking.

    You will need to use Section breaks between your headings, unlink each heading from the previous Section, then insert a hyperlink (or hyperlinked cross-reference) to the relevant headings, on a Section-by-Section basis.

    Note: While hyperlinks situated in the body of a document to a bookmark anywhere in the document do work in PDFs created by File|SaveAs in Word, hyperlinks from a header/footer don't work. PDFs created by other software may behave differently.
    Last edited by macropod; 03-12-2013 at 12:39 AM.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  3. #3
    Registered User
    Join Date
    10-04-2011
    Location
    MA
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Create Hyperlink on a Cross Reference to STYLEREF Heading 2 in the footer? PLEASE HELP

    Thanks Macropod,

    Question..... So I will have to manually do this on each and every page, or can I make it part of the style?

    Also I was getting some hints elsewhere online that maybe Character Style might be possible?

    If it is a page by page fix, then it just isnt scalable. I might have to attempt it in InDesign or something.

    Thanks for the replies.

  4. #4
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,835

    Re: Create Hyperlink on a Cross Reference to STYLEREF Heading 2 in the footer? PLEASE HELP

    So I will have to manually do this on each and every page, or can I make it part of the style?
    You will need a Section break for every heading. Whether that means every page depends on whether there's a new heading on every page. Making part of a Style won't achieve anything.
    I was getting some hints elsewhere online that maybe Character Style might be possible?
    For StyleRef fields, yes, but not for what you're trying to do.
    If it is a page by page fix, then it just isnt scalable. I might have to attempt it in InDesign or something.
    In Word, the process could be automated with a macro that goes though the document, doing all the work.

    A slightly different approach, which avaoids the need for Section breaks, is to put the hyperlinks into textboxes anchored to the body of each page. Again, a macro could do this.

    Ultimately, whatever approach you opt for, this isn't something you'd want to do to a document that's subject to ongoing editing. Rather, you'd make a production copy and do it to that, so the 'master' remains ediatble.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1