Link to home
Start Free TrialLog in
Avatar of nathan1038
nathan1038Flag for United Kingdom of Great Britain and Northern Ireland

asked on

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

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  
ASKER CERTIFIED SOLUTION
Avatar of bradleys40
bradleys40

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hello nathan1038,

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

%userprofiles%\desktop\testdoc.html

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

Best Regards,
psyclown
Avatar of bradleys40
bradleys40

an image of the insert hyperlink box
webpage.JPG
if you keep the paths the same on each pc then this will work
Avatar of nathan1038

ASKER

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

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
SOLUTION
Avatar of Gary Case
Gary Case
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial