The reason it is not working is that although you are adding it to the document you aren't putting it on the page.
DocX Help[
^] < This link takes you to a blog explaining how to put a hyperlink into a DocX document. It took a short amount of googling (all of about 2 minutes) which is something you should have done yourself in the first place.
Good luck.