![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Posts: 1
|
I am trying to set up a combo drop down where the first box would be the part description, second part would be the realted cost...
How do I do that? |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: May 2002
Location: Dallas
Posts: 365
|
Clueless -
As I interpreted your quesiton, you need a dropdown box that will include both the part number and the cost. if this is the case, is it possible for you to add a column in your source worksheet with a concatenation of the two columns (part and cost), possibly separated by a space if needs be? For example, if the part number was in column A, and the cost was in column B, add a column to your spreadsheet with the formula : =CONCATENATE(A1," ",B1) and copy down. Name this new column range (ex. New_Range), and put the name into the RowSource of your combo box. See if this helps. If not, let me know. ~Thomas P.S. - By the way, Plano's my home town |
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Denver, Colorado USA
Posts: 4,014
|
Hi clueless,
You could also make your dropdown display the two columns by setting the ColumnCount property to 2 and setting the RowSource range to include both columns.
__________________
Keep Excelling. Damon VBAexpert Excel Consulting (My other life: http://damonostrander.com ) |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|