5 Ways to Convert URL Texts to Hyperlinks in Your Word Document

In this article, we are excited to show you 5 ways to convert URL texts to hyperlinks in your Word document.

By default, when we enter an Internet path in Word document, it automatically changes into a clickable one. However, things are different if we paste these paths to a document, for they will not turn to hyperlink form. Therefore, our article today is to show you 5 ways to do so.

Method 1: Insert Hyperlink Manually

  1. Firstly, select an Internet path then click “Insert” tab.
  2. Next click “Hyperlink” in “Links” group to open “Insert Hyperlink” dialog box. Or you can press “Ctrl+ K” instead.
  3. Then you see the same contents in both “Text to display” and “Address” text box. Click “OK”. And the text shall turns into a hyperlink.Select Texts->Click "Home"->Click "Insert"->Click "OK"

Method 2: Press “Enter” or Spacebar

This is an easy way. You just put insertion pointer after the target path and press either “Enter” or spacebar. Then there is the hyperlink you want.

Method 3: Use “AutoFormat” Command

As we mentioned above, with AutoFormat employed, Internet paths shall turn to hyperlinks automatically but not in such case as pasted texts. As a matter of fact, we can utilize this feature to convert URL texts to hyperlinks.

  1. To begin with, let’s add the “AutoFormat” command to “Quick Access Toolbar” first. Click “File” then “Options” to open the “Word Options” dialog box.
  2. Secondly, click “Quick Access Toolbar” on the left column and choose “Commands Not in the Ribbon” for the category.
  3. Thirdly, find and select the “AutoFormat” command.
  4. Click “Add” and the “OK”.Click "Quick Access Toolbar"->Choose "Commands Not in the Ribbon"->Select "AutoFormat"->Click "Add"->Click "OK"
  5. Now click the “AutoFormat” command to open the same name dialog box.
  6. Click “OK”. You shall notice the plain texts now are in hyperlink form.Click "OK"
  7. By the way, just for sure you can click “Options” button in “AutoFormat” dialog box to trigger the “AutoCorrect” box. See if the “Internet and network paths with hyperlinks” box is checked. If not, check it and click “OK”.Check Box->Click OK"

This method is able to affect all Internet paths in the active document.

Method 4: Run Macro to Convert Selected Paths

  1. First off, select one or several paths and click “Developer” tab.
  2. Then click “Visual Basic” to open VBA editor. Or press “Alt+ F11” instead.Click "Developer"->Click "Visual Basic"
  3. Next click “Normal”.
  4. And then click “Insert” tab.
  5. Choose “Module” on the menu.Click "Normal"->Click "Insert"->Click "Module"
  6. Then double click on the new module to bring the coding area.
  7. Paste the following macro there:
Sub ConvertSelectedURLTextsToHyperlink()
  Word.Options.AutoFormatReplaceHyperlinks = True
End Sub
  1. Lastly, click “Run” or press “F5”.Paste Codes->Click "Run"

Method 5: Run Macro to Convert All Paths to Hyperlinks

More often than not, our need is to convert all URL texts to hyperlinks in a document. If so, you can make use of the bellowing codes to get what you want.

Follow all the instructions in method 4 but replace the macro with this one:

Sub ConvertURLTextsToHyperlinksInDoc()
  Dim objDoc As Document
  Set objDoc = ActiveDocument
  Word.Options.AutoFormatReplaceHyperlinks = True
End Sub

Get down to Fixing Corrupted Documents

Word is vulnerable to many kinds of errors. Unfortunately, such circumstances are not easily to go away anytime soon. Give to the fact of how much inconvenience that a damaged Word can bring to users, we recommend that you should take hold of a prominent program to address the issue as soon as possible.

Author Introduction:

Vera Chen is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including recover xls and pdf repair software products. For more information visit www.datanumen.com

Comments are closed.