Skip to main content

How to create drop down list with hyperlinks in Excel?

Author Xiaoyang
Last modified

In Excel, adding drop down list may help us to solve our work efficiently and easily, but, have you ever tried to create drop down list with hyperlinks, when you choose the URL address from the drop down list, it will be open the hyperlink automatically? This article, I will talk about how to create drop down list with activated hyperlinks in Excel.

Create drop down list with hyperlinks by using formula

Create drop down list with hyperlinks by using combo box


Create drop down list with hyperlinks by using formula

There is no direct way to create drop down list with activated hyperlinks in Excel, but, you can insert a formula to activate the selected hyperlink from the drop down list, please do as this:

After creating the drop down list, please enter this formula: =HYPERLINK(D2,"Go To Website!") (D2 is the drop down list cell) in cell E2 which beside your drop down list cell, and press Enter key, then when you choose one URL hyperlink from the drop down list, and click the formula cell, the hyperlink will be opened.

A screenshot showing a drop-down list and a hyperlink formula in Excel


Create drop down list with hyperlinks by using combo box

Actually, you can also create a drop down list with hyperlinks by using combo box, and when you select a hyperlink from the combo box, it will be activated at once. Please do as follows:

First, please create two range names for your hyperlinks list and a linked cell.

1. Give your hyperlinks list a range name ā€œHyperlinksā€, and name a blank cell ā€œLinked_cellā€ which is the linked cell of the combo box value into the Name Box, see screenshots:

A screenshot of the Name Box in Excel for creating a named range for hyperlinks

A screenshot of the Name Box in Excel for creating a named range for Linked_cell

Second, create a combo box and format the control.

2. Click Developer > Insert > Combo Box, and drag the cursor to draw a combo box as you need.

A screenshot showing how to insert a combo box in Excel

Tips: If there is no Developer tab in your ribbon, please read this article How to show/display developer tab in Excel 2007/2010/2013 Ribbon? to activate it.

3. After inserting the combo box, right click it, and choose Format Control, in the Format Control dialog box, click Control tab, and enter Hyperlinks and Linked_cell which are the range names you have created in step 1 into the Input range and Cell link text boxes separately, see screenshot:

A screenshot of the Format Control dialog box

4. Then click OK button to finish the settings, go on right clicking the combo box, and choose Assign Macro from the context menu, in the Assign Macro dialog box, click New button, see screenshot:

A screenshot of the Assign Macro dialog box

5. In the popped out Microsoft Visual Basic for applications window, please copy and paste the following code between the scripts, see screenshot:

VBA code: activate the hyperlinks from combo box:

HyperLink_Index = Range("Linked_cell")
      If Range("HyperLinks").Offset(HyperLink_Index - 1, 0).Hyperlinks(1).Name <> "" Then
           Range("HyperLinks").Offset(HyperLink_Index - 1, 0).Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
    End If

A screenshot of the VBA editor in Excel with code to activate hyperlinks from the combo box

6. Then save this code, and now, when you choose one hyperlink from the combo box, the hyperlink will be opened automatically.


Demo: Create drop down list with hyperlinks in Excel

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!