locked
Word 2013 Hyperlink ALT-F9 edit bug? RRS feed

  • Question

  • I seem to have run into a bug in Word 2013 SP1 with hyperlinks. I can reproduce it over and over. Insert hyperlink with whatever display text and link.  Then press ALT-F9 and you will see something like - { HYPERLINK "http://URL" }. Now try to edit the text / link within "". Press ALT-F9 again and hover over link and you will notice the link hasn't actually changed at all.

    Now you are probably saying why would anyone want to do this?  Well I was trying to follow these instructions http://blog.softartisans.com/2013/12/31/kb-creating-dynamic-links-with-mergefields-in-microsoft-word/ and above is one of the steps.  Can anyone else verify this?  Was it introduced as bug in SP1 maybe?

    Thursday, March 6, 2014 5:23 PM

Answers

  • After you have modified the field code for the hyperlink, press F9 to update the field. Then it will point to the new target you specified.


    Stefan Blom, Microsoft Word MVP

    • Marked as answer by Brian Hoyt Thursday, March 6, 2014 8:44 PM
    Thursday, March 6, 2014 8:04 PM

All replies

  • After you have modified the field code for the hyperlink, press F9 to update the field. Then it will point to the new target you specified.


    Stefan Blom, Microsoft Word MVP

    • Marked as answer by Brian Hoyt Thursday, March 6, 2014 8:44 PM
    Thursday, March 6, 2014 8:04 PM
  • That was easy, thanks.  Wish the instructions on that page mentioned that.
    Thursday, March 6, 2014 8:44 PM
  • Note that this is general behavior in Word. With a few notable exceptions, fields must be updated, directly by selecting them and pressing F9 or indirectly by forcing repagination (which happens for example when you switch to Print Preview and then back to your previous view).


    Stefan Blom, Microsoft Word MVP

    Thursday, March 6, 2014 10:14 PM
  • By default, if you insert a mailmerge field into a hyperlink field, the hyperlinks will all show the first record’s address as the 'Text to display' text. As the article indicates, you can do get a mailmerge to display your preferred default 'Text to display' text instead. Basically, the procedure is:
    1. Disregarding mergefield issues for the moment, insert a hyperlink into the document in the normal way, choosing whatever 'Click Here' text you want in the 'Text to display' box.
    2. Select the inserted hyperlink and press Shift-F9 to expose its field code.
    3. Replace everything in the field after 'HYPERLINK' with your mergefield.
    4. Select the field and press F9 to update the display.
     
    In Word 2007 & later, you can make the display text variable also, by following these additional steps:
    5. Position the cursor anywhere within the display text.
    6. Insert a mergefield pointing to whatever data field you want to use for the display text (this could even be the same field as used at step 3 above).
    7. Delete all of the previous display text either side of your last-inserted mergefield (note that this field will likely have updated already).
    8. Execute the merge.
    9. After merging to a new document, use Ctrl-A, F9 to update all fields. Without this last step, the mergefield hover text won’t update to the correct targets.

    Cheers
    Paul Edstein
    [MS MVP - Word]

    Friday, March 7, 2014 10:13 AM