![]() There’s only one combo box, hidden at the top of the worksheet, and bit of programming makes the combo box appear when needed. To make the most of the data validation features, while allowing font changes, autocomplete and more rows, I sometimes combine data validation with a combo box. This combo box can also be linked to a worksheet cell, and the value is entered in that cell, when you select an item from the list.Īlso, you can type in the combo box, and the text autocompletes as you type, finding the first matching item in the list. If you know that a worksheet will be zoomed most of the time, you can use a larger font, to make the list easier to read. You can set the properties, such as font, font size, number of rows, and even include multiple columns. This is similar to the Forms Control combo box, but has more properties that you can adjust.Īfter you insert a combo box, right-click the combo box, and click Properties. In this example, the INDEX function returns a month name from the MonthList named range, from the row number (2) for the selected month (February).Īnother drop down list option is to use an ActiveX combo box. To show the item name, instead of the item number, you can use an INDEX function in another cell. In the screen shot above, February was selected, and a 2 is entered in cell D5. That item’s index number (its position in the list) is entered in the linked cell. The font size can’t be changed though, so the list would be hard to read on a zoomed worksheet.Īlso, you can’t type in the box, so click the arrow, then select an item from the list. The drop down arrow is always visible, so the Form Control combo box is easy for users to find on the worksheet. You can also link the combo box to a cell, so the selected item number appears on the worksheet. You can adjust the number of drop down lines in the Form Control Combo box, so you can show all 12 months, without a scroll bar. It gives you a bit more control over the appearance of the drop down list. Instead of using data validation, you could use a Form Control Combo Box. ![]() You can’t change those settings, but you can colour the data entry cells, to make them obvious to the worksheet users.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |