Using a Scroll Bar Control
To insert a list scroll bar control, use the following procedure.
- Select the Developer tab.
- Select Insert. Select Scroll Bar from the drop down list.
- Click and drag the mouse to draw the scroll bar control.
- Right-click the scroll bar control, and select Format Control from the drop down list.
- On the Control tab of the Format Control dialog box, enter 1 in the Current Value field.
- Also enter 1 as the Minimum Value to restrict the top of the scroll bar to the first item in our list.
- Enter 20 as the Maximum value to specify the maximum number of entries in the list.
- Enter 1 as the Incremental Change.
- In the Page Change field, enter 5 to control how much the current value increments if you click inside the scroll bar instead of on the arrows.
- To put a number value in cell G1 for our INDEX formula in this example, enter G1 in the Cell link field.
Select OK.
Now click anywhere besides the scroll bar to deselect it. When you click the up or down arrows or anywhere in the scroll bar, cell G1 is updated. The INDEX formula in cell A1 uses the value in G1 to display the item’s name.