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

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
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,223,247
Messages
6,171,007
Members
452,374
Latest member
keccles

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