Make hyperlink in word or pdf file that links to an offline webpage on the local system (how)

Posted on 2008-02-11
Medium Priority
Last Modified: 2011-10-19
Ok, so what I want to do is place a hyperlink to a simple webpage I will create in notepad. the hyperlink will be in MS word and I may wish to convert to a PDF.

The webpage will be stored on my computer, but I also want a collegue to be able to look at it on her computer ( not over the net, i will transfer the folder to her computer with the word doc and html doc) . What I mean is - Let us say the name of the webpage is -

testdoc.html - how do I hyperlink to that on a computer where if I copy the folder ( containing the word doc and the html doc) that it would hyperlink to that offline webpage on her computer. (therefore I can not use an address that is specific to me, i.e. documentsandsettings/myname/ ....

I know it can be done and its simple, just had a bit of trouble explaining it. My bad  
Question by:nathan1038

Accepted Solution

bradleys40 earned 1000 total points
ID: 20865996
this is quite simple right click on the word or address (in MS word) you want to create a hyperlink on the click hyperlink
on the navigation bar find the document /htm file you want to open and click on it

Expert Comment

ID: 20866012
Hello nathan1038,

Well, you could do like this, using windows parameters:


then it will link to C:\documents and settings\[your profile]\desktop\testdoc.html on both computers.

Best Regards,

Expert Comment

ID: 20866016
an image of the insert hyperlink box
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!


Expert Comment

ID: 20866023
if you keep the paths the same on each pc then this will work

Author Comment

ID: 20866170
hi there bradleys - Ok - so when you say keep the paths the say - let us say I put it in My documents -
then on my computer the address has my name ( as in the name of my computer) if I place the file on the other computer - that address changes does it to what ever she named her computer


Expert Comment

ID: 20866377
yes if you put it in my documents then the path will change from machine to machine based on user, if you place it in a folder you create in each machine eg c:\webfolder\yourfile.htm then the hyperlink will work on any m,achine you put it on tin the relevent directory, if you want to do in in "my documents" then you need to use a variable like psyclown stated
LVL 70

Assisted Solution

by:Gary Case
Gary Case earned 1000 total points
ID: 20867630
A single "." means "the current directory" ==> so if you store the document and the referenced html document in the same directory, then just use the reference ".\testdoc.html" in the address line for the reference.   Then it won't matter where the document is stored (it can be any folder you want), as long as the two files are in the same folder.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question