How to Update Hyperlink in Excel Automatically (2 Ways)

We have a dataset containing brief information about some books, their writers, and hyperlinks where you can find these books to read. We will use some dummy hyperlinks to explain the topic.

how to update hyperlink in excel automatically


How to Update a Hyperlink in Excel Automatically: 2 Ways

Method 1 – Using a Formula to Update Hyperlink Automatically in Excel 

We have two duplicate files where we keep the information about these books. The names of these files are Update Hyperlink Automatically and Update Hyperlink Automatically 2. We want to create a system where we change the hyperlinks in the file named Update Hyperlink Automatically and the hyperlinks in Update Hyperlink Automatically 2 automatically change.

Steps:

The following figure refers to the Update Hyperlink Automatically file.

Here’s the Update Hyperlink Automatically 2 file in the following picture. This file has the price information about these books.

how to update hyperlink in excel automatically

  • Use the following formula in cell D5 of the Update Hyperlink Automatically 2.
='[Update Hyperlink Automatically.xlsx]update hyperlink'!$D$5:$D$10

how to update hyperlink in excel automatically

This formula will store the hyperlinks of the Update Hyperlink Automatically file.

  • Press Enter and you will see the hyperlinks.

  • The websites that sell Oliver Twist, War and Peace and Frankenstein happen to change their site. We will change the names of these websites in the Update Hyperlink Automatically file.

how to update hyperlink in excel automatically

  • The corresponding hyperlinks in the file Update Hyperlink Automatically 2 are updated.

Note: If your hyperlinks don’t change automatically, you may face this dialog box when updating the source file (Update Hyperlink Automatically).

how to update hyperlink in excel automatically

  • Go to File of Update Hyperlink Automatically 2.

  • Choose Options.

how to update hyperlink in excel automatically

  • Select Trust Center and choose Trust Center Settings… from Excel Options.

  • Choose External Content and select the marked options in the following picture.

how to update hyperlink in excel automatically

  • Select Edit Links from the Queries & Connections section of the Data Tab.

  • A dialog box will appear. Select Startup Prompt from the dialog box.

how to update hyperlink in excel automatically

  • Choose Don’t display the alert and update links from the Startup Prompt.

  • You will be back at Edit Links. Close the window.

how to update hyperlink in excel automatically

Read More: How to Update Links Without Opening File in Excel


Method 2 – Updating the Hyperlink Automatically by Defining a Name

Steps:

  • Select the hyperlinks and give this range a name. We named the range as LinkLists.

  • Select any cell of the new sheet and right-click on it.
  • Choose Link.

how to update hyperlink in excel automatically

  • The Insert Hyperlink window will show up. Select Place in This Document and choose LinkLists (the named range)
  • Click OK.

You will see the hyperlink in the new sheet.

how to update hyperlink in excel automatically

  • If you click on this link, it will navigate to the sheet where we defined LinkLists.

  • Say you want to add a new book before War and Peace. Insert a new row above it.

how to update hyperlink in excel automatically

  • Type the information about the new book.

  • Go to the updated links sheet and click on the LinkLists hyperlink.

how to update hyperlink in excel automatically

  • This will navigate to the updated LinkLists in the ‘defined name’ sheet.

Read More: How to Disable Automatic Update of Links in Excel


Practice Section

We’re giving you the dataset of this article so that you can practice these examples on your own.

how to update hyperlink in excel automatically


Download the Practice Workbooks


Related Articles

<< Go Back To Update Excel Links | Linking in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Meraz Al Nahian
Meraz Al Nahian

Md. Meraz Al Nahian has worked with the ExcelDemy project for over 1.5 years. He wrote 140+ articles for ExcelDemy. He also solved a lot of user problems and worked on dashboards. He is interested in data analysis, advanced Excel, statistics, and dashboards. He also likes to explore various Excel and VBA applications. He completed his graduation in Electrical & Electronic Engineering from Bangladesh University of Engineering & Technology (BUET). He enjoys exploring Excel-related features to gain efficiency... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo