ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   combo box from control toolbox (https://www.excelbanter.com/excel-discussion-misc-queries/94352-combo-box-control-toolbox.html)

Hassan Merzha

combo box from control toolbox
 
Hi

i know i asked smilier question before but this time is different!
Ok i am going as simple as i can, i have sheet and have on ColumA "NAME" and
on ColumB "Phone No". and on sheet two i have Combo box that from the Control
Toolbox, NOT from Forms, so what i want is when i select name from combo box
i want to see the phone number of that person to show up below the combo box?
Thanks guys for all your help.

Max

combo box from control toolbox
 
"Hassan Merzha" wrote:
.. i have sheet and have on ColumA "NAME" and on ColumB "Phone No".
and on sheet two i have Combo box that from the Control
Toolbox, NOT from Forms, so what i want is when i select name from combo box
i want to see the phone number of that person to show up below the combo box?


One play ..

Assume source data is in Sheet1!A2:B100
col A = names, col B = phone nos

In Sheet2,

Assume the combo box is placed over A9

In design mode, right-click on the combo box Properties

Set the properties of the combo box to:
ListFillRange: Sheet1!A2:B100
LinkedCell: A10
BoundColumn: 2
ColumnCount: 1

Test it out ... the combo box droplist will display only the names, &
selecting the name will place the corresponding phone no into the link cell:
A10

If we set ColumnCount to 2, then the droplist will display both names &
phone nos
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


All times are GMT +1. The time now is 08:53 PM.

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