How to quickly list all hyperlinks in Excel?


Hyperlinks enable easy access to external resources such as websites, documents, emails, or even specific locations within other worksheets or workbooks. By simply clicking on a hyperlink placed within an Excel cell or object (like shape), users can instantly open relevant files without wasting time manually searching their computer directories or browser bookmarks. This quick access ensures seamless integration with other applications while maintaining workflow efficiency.

While many are familiar with hyperlinks in web pages, they can bring tremendous benefits when used within an Excel workbook too.

Quickly Restoring all Hyperlinks Using “Replace Option”

Step 1

To expedite the process of listing hyperlinks, Microsoft Excel offers powerful built-in options like the “replace”. Open the desired worksheet.

Step 2

In the Home tab, move to the “Editing ribbon” and select “Replace” option. In the Find and Replace window, select the “Format” option from the “Find What” tab. Here, select the “Choose Format From cell” option.

Step 3

Then it allows you to select the cells with hyperlinks. After selecting the hyperlinks, the “Preview” option will be turned in blue,

Step 4

And click the “Find all” option to list all the hyperlinks.

Quickly Restoring all Hyperlinks Using “VBA Macros”

Step 1

Visual Basic for Applications (VBA) allows automation in Excel by writing custom macros tailored specifically to our needs. Press Alt + F11 keys together on the keyboard; this opens up Microsoft Visual Basic for Applications editor.

Step 2

Click on "Insert" from the toolbar menu and choose "Module."

Step 3

Then, enter the below code inside the module.

Sub ListHyperlinks()
   Dim HLink As Hyperlink
   For Each HLink In ActiveSheet.Hyperlinks
      MsgBox HLink.Address
   Next HLink
End Sub

Step 4

Press Alt+F8 in the Excel sheet to open the “Macro” and click run to display the list of hyperlinks one by one.

Step 5

Separate popup window will be shown one by one with the hyperlinks.

Conclusion

Locating all hyperlinks within an extensive spreadsheet may seem like searching for a needle in a haystack. However, with these techniques at hand—whether through utilizing built-in functions combined with formulas or embracing advanced solutions such as VBA macros or online add-ins—we can effortlessly unravel this hidden information in record time.

Updated on: 22-Dec-2023

246 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements