There are two columns in his list, but after I select one item from the list, he does not show me 2 columns. How do I do that even after I choose the figure, will he continue to show me the full text of the two columns?
相关问题
- Excel sunburst chart: Some labels missing
- Error handling only works once
- Error handling only works once
- Excel formula in VBA code
- Excel VBA run time error 450 from referencing a ra
相关文章
- Get column data by Column name and sheet name
- programmatically excel cells to be auto fit width
- Unregister a XLL in Excel (VBA)
- Unregister a XLL in Excel (VBA)
- How to prevent excel from truncating numbers in a
- numeric up down control in vba
- Declare a Range relative to the Active Cell with V
- What's the easiest way to create an Excel tabl
If you're using an ActiveX Combo Box control, click the control then click Properties on the Ribbon (under
Developer
) and change the property calledColumn Count
as needed.The ActiveX control is added with the button circled in Green in the image below. The red circle is a Form Control Combo Box, which does not have a property for number of columns.
(If the Properties button is disabled, make sure the Design Mode button on the ribbon is "on", then right-click your control.)
Note that you'll also have to set "Column Widths", for example
3;3
for two 3cm-wide columns. (or two 3 inch wide columns depending where you are.) There's more information about all of this, and examples, in the links below and elsewhere online.(Sorry if it looks like an American football play diagram... I almost missed circling a step so I added it oout-of-order, can you tell which one?! :-) Let me know if you have any questions...)
More Information:
Stack Overflow : Differences between Form Controls and ActiveX Controls in Excel
ExtendOffice : How to display multiple columns in combo box?
YouTube : Excel VBA UserForm Combobox with Multiple Columns