In this article, we intend to provide you with 4 ways to quickly insert same hyperlink for multiple times in your Word document.
Now and then, you will have to insert hyperlinks to your file. However, every time you will need to select the text and then enter the Internet address. It’s quite annoying to insert hyperlink one by one, especially when there are multiple same texts which require identical addresses.
To free you from such a shackle, there are 4 actual working methods for you to take a glance.
Method 1: The “Copy” Way
Copy a formatted hyperlink and paste it on the position it needs. This is probably the first method that occurs to most of us.
Method 2: Use “Find and Replace” Feature
If you have finish editing the entire document and need to insert the same hyperlink for identical texts throughout the file, you can certainly try out the following steps:
- First and foremost, create a hyperlink first, such as below:
- Then select the hyperlink and right click.
- On the list menu, choose “Copy”.
- Now the content is on the clipboard. Press “Ctrl+ H” to trigger the “Find and Replace” dialog box.
- Next ensure the “Replace” tab is displayed. Enter the display text in “Find what” text box.
- And input “^c” in “Replace with” text box.
- Lastly, click “Replace All”.
Here is the result:
Method 3: Use “AutoCorrect” Feature
Different from method 2, if you are right in the process of a document, use the “AutoCorrect” smartly can save you from repeating inserting same hyperlink. For detailed instructions, please refer to this article: Why Not Use AutoCorrect to Insert Specific Hyperlinks?
After employing this method, every time you type the same word or phrase, it will automatically convert to the hyperlink form.
Method 4: Use Macro
Still, in case you haven’t finished the document writing, you can also try the macro way.
- To begin with, put your cursor at the position where the hyperlink goes.
- Then click “Visual Basic” under “Developer” tab to open the VBA editor. Or you can press “Alt+ F11” instead in case the “Developer” tab is not displayed in the Ribbon.
- Next, paste the following codes on editing area:
Sub InsertHyperlinks() ActiveDocument.Hyperlinks.Add Anchor:=Selection.Range, Address:= _ "https://www.datanumen.com/word-repair/",SubAddress:="",ScreenTip:="", TextToDisplay:="DataNumen Word Repair" End Sub
- Click “Run” button.
Notes:
In the codes, the “https://www.datanumen.com/word-repair/” is the Internet address of your text and you shall also replace “DataNumen Word Repair” with the real text you need to display.
Besides, chances are that you may need to use the macro repeatedly, so you can consider assigning the macro to a button or keyboard shortcut. As for the steps to do so, please look at How to Remove the Formatting of Pasted Texts with Macro and VBA in Your Word
Comparison of 4 Methods
Methods | Advantages | Disadvantages |
Method 1: The “Copy” Way | 1. The easiest way
2. Better used when there are few hyperlinks |
You have to scroll up and down to copy and paste the hyperlink if there are pages apart between 2 locations. |
Method 2: Use “Find and Replace” Feature | You can insert hyperlinks to multiple locations at the same time. | Comparative more steps |
Method 3: Use “AutoCorrect” Feature | The same text you enter will automatically change to hyperlink. | You have to type the entire word or phrase so as to get the hyperlink. |
Method 4: Use Macro | No need to enter text anymore. | 1. You have to alter the codes a little bit before using it.
2. You may need to assign a button or keyboard shortcut for quick use.
|
Careful about Your Exploration in Word
In a Word, Word is a capable of multiple tasks and keeps surprising us from time to time. We come to such knowledge due to our constant exploration in the experience of using it. However, the very truth is that it is our operation that put Word in danger of corruption sometimes. Thus an advisable way to protect file safety is to get a Word data error recovery tool.
Author Introduction:
Vera Chen is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including corrupt Excel xlsx repair and pdf repair software products. For more information visit www.datanumen.com