A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
You can't set the Max to a cell reference, so you have to use code:
Right-click the sheet tab.
Select View Code from the popup menu.
Copy the following code into the module:
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Range("A9:A2000"), Target) Is Nothing Then
Me.ScrollBar1.Max = Application.WorksheetFunction.Max(Range("A9:A2000"))
End If
End Sub