


Next, check the box labeled 'Allow trusted locations on my network'. Text hyperlinkText = hyperLink.GetFirstChild().GetFirstChild() hyperlinkText. Then, please try adding the path of the file server to the 'Trusted Locations' under Word Options -> Trust Center -> Click 'Trust Center Settings' button. Open your Word document and select the text that you want to convert to a hyperlink. Type the address for the link in the Address box at the bottom. Select any clip art, picture, drawing object, or WordArt within a web page. A graphic can function as a hyperlink, such that when the user clicks on the image, a web page loads. Step 3 Open a new window where the 'Text to display' Text box shows the text that will display in your document. You can also insert a hyperlink to an image in word 2010. Step 2 Now right-click on the selected text or picture and choose 'Hyperlink'.
How to add hyperlink in word 2013 how to#
Using System using System.IO using System.Linq using using System.Xml using System.Text using using OpenXmlWord = using Ĭlass Program I am trying to use the hyperlinks feature in VBA within word, but when I use the following code it is attempting to create the hyperlink as a link to How to add a hyperlink within Word to a I’m adding this link within a Word document and I rather a-hyperlink-within-Word-to-a-specific-Visio-page-within-a you will need to re. Step 1 Select text or picture that you want to add a hyperlink for.To build the examples that are presented in this article, you must have Open XML SDK 2.0. Two assemblies are necessary for using the Open XML SDK 2.0: and WindowsBase.dll. However, you can use the same approach with other application types.
How to add hyperlink in word 2013 windows#
This article uses Microsoft Windows console applications for the sample code.

Use alt + F9 to see the hyperlink field code. select hyperlink on the left and click okay. To add the variable hyperlink go to insert>quick parts>fields. The sample demonstrates how to extract and update the hyperlinks from a word document using Open XML SDK 2.0. Here are the steps I used: open a new document and click on the step by step mail merge wizard add your generic text.
