Professional Documents
Culture Documents
Worksheets
Posted on March 30th, 2011 in excel apps , Excel Howtos , Huis , Learn Excel , Posts by Hui - 85 comments
Form Controls
What Are Form Controls?
Form Controls are objects which you can place onto an Excel Worksheet which give you the functionality to
interact with your models data.
You can use these controls on worksheets to help select data. For example, drop-down boxes, list boxes,
spinners, and scroll bars are useful for selecting items from a list. Option Buttons and Check Boxes allow
selection of various options. Buttons allow execution of VBA code.
By adding a control to a worksheet and linking it to a cell, you can return a numeric value for the current
position of the control. You can use that numeric value in conjunction with the Offset, Index or other
worksheet functions to return values from lists.
Use below links to quickly learn about Form Controls:
What are form controls & introduction
Button Control
Label Control
Check box Control
Option Button Control
List box Control
Combo box Control
Spin Button Control
Scroll bar Control
Group box Controlg
Using Form Controls techniques & examples
Other Controls in Excel
Description
Push Button
Function
Executes a macro
Check Box
Combo Box
Group Box
Label
List Box
Option Button
Scroll bar
Spin Button
The list is sourced from a Range of cells in the example below it was F2:F17.
The List Form Control returns an Index Number or position of the selected item to the Cell Link B10, 9 in the
example below.
The Input Range, Cell Link and size of the Drtop Down Box are setup by Right Clicking the control and select
Format Control
devide the linked cell by 10 which will give a Range of 0 to 100 in steps of 0.1
Other Links
http://office.microsoft.com/en-us/excel-help/overview-of-forms-form-controls-and-activex-controls-on-aworksheet-HA010237663.aspx
kyrel says:
March 30, 2011 at 6:04 am
how to change the font and font size in list box or combo box?
Reply
2.
Hui... says:
March 30, 2011 at 6:56 am
@Kyrel
You cannot change the font size/type in a List or Combo Box Form Control
The Active X versions do give you that functionaility.
Reply
3.
kyrel says:
March 30, 2011 at 7:25 am
tq so much