


You can always ask an expert in the Excel Tech Community or get support in the Answers community. Link a cell to display selected list value.Ĭlick the box next to ListFillRange and type the cell range for the list.Ĭhange the number of list items displayedĬlick the ListRows box and type the number of items to be displayed.Ĭlose the Property box and click Designer Mode.Īfter you complete the formatting, you can right-click the column that has the list and pick Hide. button and pick font type, size, or style.Ĭlick ForeColor > the down arrow > Pallet, and then pick a color. Here's how to set properties for the combo box in this picture:Ĭlick BackColor > the down arrow > Pallet, and then pick a color.Ĭlick Font > the. Now as you select any chart from the combo htye are first all made invisible then the last one is made visible. ActiveSheet.ChartObjects(Combo.Text).Visible True End Sub. Private Sub ComboChange() Dim cht As ChartObject For Each cht In ActiveSheet.ChartObjects cht.Visible False Next cht. Right-click the combo box and pick Properties, click Alphabetic, and change any property setting that you want. Right click your combobox and attach this code. If you type a number that's less than the number of items in your list, a scroll bar is displayed. For example, if your list has 10 items and you don't want to scroll you can change the default number to 10. If the following formula, is typed into cell C1: =INDEX(A1:A5,B1), when we select the item "Sorbet" is displayed in C1.ĭrop-down lines: The number of lines you want displayed when the down arrow is clicked.

In our example, the combo box is linked to cell B1 and the cell range for the list is A1:A2. Tip: You can use the INDEX function to show an item name instead of a number.
