ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Help with drop down list selection (https://www.excelbanter.com/excel-programming/398753-help-drop-down-list-selection.html)

Mekinnik

Help with drop down list selection
 
I am trying to populate a drop down list with data from sheet2,a1-a50 (which
is not very hard), but when the user selects a name from the list I want it
to return a value that corresponds to the selection.

Basiclly when you select the first name from the list(sheet2,a1), I want it
to return the value from sheet2,b1. Also I want the listbox/combobox to be
bound to a column of cells

When when you select 'A' I want it to return 'B' instead.

Can anyone please help me write code that can do this, I've tried the Data
Validation tool with no luck and I tried creating a combo box with failure
also.

Mekinnik

Help with drop down list selection
 
I found what I was looking for..

"Mekinnik" wrote:

I am trying to populate a drop down list with data from sheet2,a1-a50 (which
is not very hard), but when the user selects a name from the list I want it
to return a value that corresponds to the selection.

Basiclly when you select the first name from the list(sheet2,a1), I want it
to return the value from sheet2,b1. Also I want the listbox/combobox to be
bound to a column of cells

When when you select 'A' I want it to return 'B' instead.

Can anyone please help me write code that can do this, I've tried the Data
Validation tool with no luck and I tried creating a combo box with failure
also.


Gord Dibben

Help with drop down list selection
 
Could you share your solution with us please.


Gord Dibben MS Excel MVP

On Thu, 4 Oct 2007 20:44:01 -0700, Mekinnik
wrote:

I found what I was looking for..

"Mekinnik" wrote:

I am trying to populate a drop down list with data from sheet2,a1-a50 (which
is not very hard), but when the user selects a name from the list I want it
to return a value that corresponds to the selection.

Basiclly when you select the first name from the list(sheet2,a1), I want it
to return the value from sheet2,b1. Also I want the listbox/combobox to be
bound to a column of cells

When when you select 'A' I want it to return 'B' instead.

Can anyone please help me write code that can do this, I've tried the Data
Validation tool with no luck and I tried creating a combo box with failure
also.




All times are GMT +1. The time now is 12:02 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com