How to reset scroll bar to default value in Excel?
When you work on your Excel, you will notice that the worksheet only has several rows or columns, but, the active area of your worksheet is larger than the actual area where you have data. It means the last cell of a worksheet is far beyond the range of your used data as following screenshot shown. In this case, how could you reset the scroll bar to default value of your used range in Excel?
The following simple VBA code may help you to reset the large unused range to your actual data area, please do as this:
1. Hold Alt + F11 keys to open Microsoft Visual Basic for Applications window.
2. Then click Insert > Module and copy and paste below VBA code to the popping Module window.
VBA code: Reset scroll bar to default value
Sub ResetRange() ActiveSheet.UsedRange End Sub
3. Then press F5 key to run this code, and the large unused range has been reset to the actual used range.
If you have Kutools for Excel, with its Select Last Cell feature, you can quickly reset the scroll bar to the default used range.
|Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 60 days.|
After installing Kutools for Excel, please do as follows:( Click to Download Kutools for Excel Now! )
1. Activate the worksheet that you want to reset.
2. Then click Kutools > Select > Select Last Cell, see screenshot:
3. And the large worksheet has been reset to the last cell with data.