6
2
Good afternoon!
I have inserted a hyperlink into an MS Word document, but I'd like to add an anchor tag to it so the link will go to a specific part of the page. The page it's linking is an HTML file, not a website, so it uses a "file://" type path.
If I set the hyperlink to document.html#header1
, it simply parses out the #header1
and goes to the top of the document. I found this page:
http://www.pcreview.co.uk/forums/getting-hyperlink-tag-word-go-named-anchor-web-page-t3709855.html
But it applies to Word 97 and the dialogue doesn't work in Word 2013. Further searches only yielded blogs teaching people how to make hyperlinks in word (none deep enough to touch on anchor tags)
Does anyone have any tips or suggestions?
Appears to be broken to me. – Geoff – 2013-05-16T19:06:59.293
I think this has always been broken and never fixed by MS. I don't know about that article, but I'm not too sure anchors worked properly with Word 97 either. Really strange, considering a plain old program like Wordpad is able to get it right. What's up with the Office team anyway? (Unless we're all missing something?) – Karan – 2013-05-16T20:31:33.900
Try using URL encoding to change
– martineau – 2013-05-16T20:50:11.667document.html#header1
intodocument.html%23header1
.@martineau - Tried that at my end, also fails. – Geoff – 2013-05-16T20:56:23.047
@Geoff: It was just a guess. I don't have Word 2013, but
– martineau – 2013-05-16T21:04:44.317#
works in Word 2003. It might be illuminating for you to import the document into your version and, if it works, see how it's doing it.@martineau - I was caught by the same thing; it works when linking to a web page, but not when linking to a local html file (
file://...#xx
) – Geoff – 2013-05-16T21:13:18.430