Skip to main content

How to open multiple hyperlinks at once in Excel?

Author Xiaoyang Last modified

When working with Excel spreadsheets containing numerous hyperlinks—such as lists of resources, websites, contact forms, or product links—manually opening each link one by one can be both time-consuming and monotonous. For users handling large datasets or conducting research where multiple sources need to be accessed quickly, this repetitive task is not only inefficient but also increases the risk of missing links or making mistakes. Fortunately, Excel offers several effective solutions that allow users to open all or selected hyperlinks concurrently, streamlining your workflow and reducing unnecessary manual effort. This tutorial will show you comprehensive step-by-step methods for opening multiple hyperlinks at once, including VBA code and Kutools AI Aide.


Open multiple hyperlinks at once with VBA code

For those comfortable using macros, a simple VBA (Visual Basic for Applications) script provides a practical way to open all hyperlinks within a selected cell range at the same time. This approach is especially useful when frequent bulk operations are required or when native Excel features are limited. The VBA method is compatible with most modern versions of Excel, but it's important to note some browsers or system settings may block the automatic opening of many links at once, and the macro cannot be undone.

Please follow the detailed steps below to utilize this solution:

1. Press ALT + F11 to open the "Microsoft Visual Basic for Applications" window. This shortcut works in most Excel installations.

2. In the VBA editor, click Insert > Module, and paste the following code into the blank module window.

VBA code: Open multiple hyperlinks at once

Sub OpenHyperLinks()
'Updateby Extendoffice
	Dim xHyperlink As Hyperlink
	Dim WorkRng As Range
	On Error Resume Next
	xTitleId = "KutoolsforExcel"
	Set WorkRng = Application.Selection
	Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8)
	For Each xHyperlink In WorkRng.Hyperlinks
		xHyperlink.Follow
	Next
End Sub

3. Then press F5 or click the "Run" button to execute the code. Excel will prompt you with a window to select the range containing the hyperlinks you wish to open.

A screenshot of the VBA prompt to select a range of hyperlinks to open in Excel

4. After selecting your range and clicking OK, all hyperlinks within that range will open automatically in your system’s default web browser.

Precautions and troubleshooting:
  • Some browsers or operating systems may limit the number of browser tabs/windows that can be opened simultaneously for security reasons. If not all links open, try selecting a smaller range or adjusting your browser settings.
  • If a link fails to open, ensure it is formatted as a valid hyperlink (begins with "http://" or "https://"). Text that only appears like a link but is not actually a hyperlink won’t be processed.
  • Always be mindful of macro security warnings and only run code from trusted sources.

This method is ideal when bulk-opening external hyperlinks, but it may be less suitable for links to local files/folders requiring special permissions or mapped drives.


Open multiple hyperlinks at once with Kutools AI Aide

If you are looking for a more user-friendly approach—especially one that doesn’t require any programming—Kutools for Excel offers a convenient solution through its Kutools AI Aide feature. This tool is well-suited for users who prefer visual interfaces and wish to perform batch operations with ease. By leveraging the AI chat-based interface, users can quickly instruct Kutools to perform complex operations, such as opening all hyperlinks in a selected range, with just a simple command.

Note: To use Kutools AI Aide, please download and install Kutools for Excel. Ensure your Excel is restarted after installation so all features are accessible.

After you have installed Kutools for Excel, proceed as follows:

  1. Open your Excel file containing the hyperlinks you wish to process. Go to the "Kutools" tab, select "Kutools AI" > "AI Aide" to open the AI Aide pane on the side of your Excel window.
  2. Select the range or list that contains your hyperlinks. In the AI Aide chat box, type your instruction. Then click the "Send" button or press the Enter key to submit your command.
    "Open all hyperlinks at once in the selection:"
  3. Kutools AI will analyze your request. Once ready, simply click the "Execute" button. Kutools AI Aide will automatically perform the action, opening each hyperlink in your selected range in your default web browser or relevant app.

A GIF demonstrating how Kutools AI Aide opens multiple hyperlinks at once in Excel

  • Advantages: No coding or VBA experience required, ideal for all proficiency levels. Easy to repeat and adjust to different selections, and reduces the chance of user error.
  • Troubleshooting tip: If certain hyperlinks do not open, verify their format and check your browser’s pop-up blocker settings, as these could prevent opening new tabs or windows automatically.

Kutools AI Aide excels at handling various batch operations and is particularly valuable when you need reliable, repeatable processes without manual intervention or custom scripting.


In summary, whether you prefer scripting with VBA, taking advantage of professional tools like Kutools for Excel, Excel offers flexible approaches to save time and effort when working with multiple hyperlinks. Always ensure links are valid, understand the security implications of opening many links at once, and select the method best matching your environment and workflow. Should you encounter any problems—for example, links failing to open or macro errors—try troubleshooting by verifying hyperlink structure, smaller selection ranges, or adjusting system/browser security settings.

Related articles:

  • Change multiple hyperlink paths at once in Excel
  • For some purpose, you may create multiple hyperlinks for your data in the worksheet, and all of the hyperlinks are linked to the same file path or address, but now, you need to replace this hyperlink path with another address at a time. To change the path of the hyperlinks individually may waste a lot of time, is there a quick way to solve this problem?
  • Convert multiple email addresses to hyperlinks in Excel
  • If you have a list of plain text email addresses in a worksheet, and now, you want to convert theses email addresses to hyperlinks that you can send emails while clicking the addresses. Of course, you can convert them to hyperlinked email addresses, but, this method will be boring if there are multiple addresses needed to be converted. In this article, I will talk about some good tricks to deal with this task.
  • Follow hyperlink to hidden sheet in Excel
  • For example, I have a workbook which contains multiple worksheets, the first master sheet has hyperlinks to other sheets, and now, I hide all sheets except the first one. In this case, the hyperlinks which link to hidden sheets are not available. But, how could you make these hyperlinks work successfully? When you click one hyperlink, the linked hidden sheet will be opened at once.

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!