Hyperlinks to change drop down selection

mweigold

New Member
Joined
Aug 17, 2017
Messages
2
Hello,

Currently I have a Windows 7 computer with Microsoft Excel-Office professional plus 2016 installed. I have a form control (combo box-drop down) set up. I would like to create a hyperlink so that when you click on it, it changes the drop down selection on the control box, making them interactive with each other.

Is it even possible to change a drop down via another way? Can you reference keys? Most of the forums have drop downs changing cell data. I want cell data to change a drop down.

What I am wondering is if this can even be done with my version of excel or would I need to get a different version. Please advise. Thanks.
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Put this in the worksheet module and change the ComboBox Name accordingly:

Code:
Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink)
    'When a hyperlink is clicked select the first item in the list
    Me.Shapes("Drop Down 1").ControlFormat.ListIndex = 1
End Sub
 
Last edited:
Upvote 0
Thank you for responding. Let say we have a list of different fruits, apples, oranges etc. On a different sheet if we click on apples (make this a hyperlink) we want the drop down (in another sheet) to change to apples. Should our hyperlink just be sent to the sheet that has the drop down? This code doesn't specify how to set where the hyperlink should be going. When I type in your code it just pulls up a macro box. Please let me know.
 
Upvote 0

Forum statistics

Threads
1,214,574
Messages
6,120,327
Members
448,956
Latest member
Adamsxl

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top