Excel and dropdown list

Benjee

New Member
Joined
Sep 3, 2006
Messages
2
I want to have a listbox showing a selection of names and when a name is selected the cursor should "jump" to a specific location on the same sheet. A sort of hyperlink in a dropdown list! Can anyone help.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hi, Benjee
Welcome to the Board !!!!!

yes, we surely can help
how is the "jump"location related to the selection in the listbox ?
this might be necessary to know: how are you populating the listbox ?

kind regards,
Erik
 
Upvote 0
Thanks for responding Erik.
Listbox will be populated from a single column. Once a selection has been made from the listbox the cursor should goto the named cell. eg. Should I select Brussel from the list then the cursor should goto the named cell Brussel on another sheet. Hopefully this is clear.
 
Upvote 0
Hello,

see the helpfiles for GoTo
Code:
Private Sub ListBox1_Click()
Application.Goto reference:=ListBox1
End Sub
this will bug when the range does not exist

best regards,
Erik
 
Upvote 0

Forum statistics

Threads
1,214,909
Messages
6,122,189
Members
449,072
Latest member
DW Draft

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