logo
search
VBA & Macro Problems

How to Open Multiple Web Links From One Word Hyperlink

Steve KSteve K Sep 30, 2026 869 views

Question details

The user needs to open several related web URLs simultaneously using a single action or link in a Word document.

How to Open Multiple Web Links From One Hyperlink in Word
Product
Word
Device & OS
not provided
Scenario
Setting up a Word resume template containing a single section that needs to open multiple certification URLs in separate browser tabs.
Observed behavior
Standard Word hyperlinks are limited by design and can only open one destination URL at a time.
Before you start

Ensure that the Developer tab is enabled in your Word ribbon menu and prepare your list of destination URLs before proceeding.

Solution 1Recommended

Use a VBA Macro to Open Multiple Web Pages

Create and run a custom VBA macro to launch several web pages in separate browser tabs using a single command.

Because standard hyperlinks in Word cannot open multiple destinations simultaneously, utilizing a Visual Basic for Applications (VBA) macro is the most effective workaround.

With a short script, you can execute a command that triggers your default web browser to open a predefined list of URLs all at once.

1
Enable the Developer Tab

Go to 'File' > 'Options' > 'Customize Ribbon'. In the right pane, check the box next to 'Developer' and click 'OK'.

2
Open Visual Basic Editor

Click on the newly added 'Developer' tab on the ribbon and select 'Visual Basic' to launch the VBA editor.

3
Insert the Macro Code

In the VBA editor, click 'Insert' > 'Module'. Paste your VBA code that utilizes the 'ActiveDocument.FollowHyperlink' or a Shell command to open multiple links. Replace the sample URLs in the code with your actual web addresses.

4
Run the Macro

Close the editor, return to your document, click 'Macros' on the Developer tab, select your new macro, and click 'Run' to open the web pages.

Use a VBA Macro to Open Multiple Web Pages
Security Settings: Macro execution may be blocked by your software's security settings. Ensure you use this method only in trusted documents and adjust your Trust Center settings if the macro fails to run.
Efficient Document Automation

Manage Documents and Macros Seamlessly with WPS Office

WPS Office Writer offers advanced document formatting, reliable hyperlink management, and VBA macro support to help you automate complex tasks like launching multiple URLs.

  1. 1. Download and Install WPS Office: Get WPS Office from the official website and open your resume template in WPS Writer.
  2. 2. Access Developer Tools: Navigate to the Developer tab to manage your document's macro settings and open the Visual Basic editor.
  3. 3. Execute the Macro: Input your script into the VBA editor and run it to instantly open your certification links in separate browser tabs.
Fully compatible with Microsoft Word .docx and .docm macro-enabled formatsLightweight design for faster document loading and editingRobust VBA environment (in supported versions) to automate repetitive tasksUser-friendly interface for managing hyperlinks and template formatting
microsoft office alternative - wps office

Frequently Asked Questions

Can I open multiple links without using a macro in Word?

No, standard Word hyperlinks only support a single destination URL. You must use a VBA macro or a separate HTML workaround file to open multiple browser tabs from one action.

Why is my VBA macro not running when I click it?

Your macro security settings are likely blocking the execution. Go to the Trust Center settings in your options menu and enable macros, but only do this for documents you trust.

How do I save a Word document that contains a macro?

You must save the document as a Word Macro-Enabled Document (.docm). If you save it as a standard .docx file, the VBA code will be automatically stripped out and lost.