How to Insert a Scroll Bar
Today, we are going to learn how to insert scroll bars in Excel and where we can use them.
In our first example, we have a PMT function. The scroll bars help us change our value for the PMT function more rapidly (Fig. 1)

Let’s insert a scroll bar from the film Excel tips 43, when I was changing the time with a scroll bar. Let’s start with the Developer tab. It’s turned off by default, so we have turn it on. Just right click on the ribbon and choose the Customize the Ribbon option (Fig. 2)

In the window that appeared we have to find the Developer tab, select the proper checkbox and press OK (Fig.3)

Now, we can go to the Insert option and select the Scroll Bars in the Form Controls area. We aren’t interested in ActiveX Controls because they are connected with VBA, and we need something simple. Now, we can draw our scroll bar. When we are holding the Alt key, Excel will fit our scroll bar to cell borders. We don’t always want to do it, but we have such an option. Even after selecting our scroll bar area, when we click the Alt key, Excel will still fit it to cell borders (Fig. 5)

In our case it isn’t so important. Now, we have our vertical bar (Fig. 6)

And horizontal bars (Fig. 7)

Let’s look at properties of the scroll bar. We have to right click to select the scroll bar and right click again to go to the Format Control option (Fig. 8).

In the window that appeared, we have some options, such as Format Control which is now 26, Minimum value which is 0, Maximum value which is 100. We have to remember that scroll bars can have only integer numbers from 0 to 30.000. In our example, I want to work with time and I want the scroll bar to have a 1‑minute precision. It means that I have to set the maximum value to 1440, as this is the number of minutes in one day. The next option, which is Incremental change, is connected to the arrows at the ends of our scroll bars. Then, we have Page change which is connected to clicking on our scroll bar. However, the most important option here is the Cell link bar. We can connect Current value to Cell link. Let’s assume that I want to connect our scroll bar to cell E1. I’m clicking on the cell and pressing OK (Fig. 9)

Now, the value in cell E1 changed into 26 because that’s the current value in our scroll bar (Fig. 10)

When I move the scroll bar, the value in cell E1 is also changing in accordance to the value on the bar. When we click on the arrows on our scroll bar, the time is changing minute by minute downwards or upwards. When we click on the scroll bar, but not on the arrows, we move by 10 minutes upwards or downwards, depending on which part we are clicking. We can move even more rapidly by catching the slider and moving it.
Our value from the scroll bar is an integer. Sometime, though, we need time or percentages. The question is, how can we changed integers into time or percentages? In our example, we have to just divide the value by 1440 and we will get the time in minutes (Fig. 11)
=E1/1440
