books4cars
Board Regular
- Joined
- Apr 12, 2007
- Messages
- 200
How do I make the horizontal scrolling limited? I don't want to see more than 20 columns by using the scroll bar with the mouse. I can do it vertically by having no data in lower rows.
With ActiveSheet
.ScrollArea = "a1:t" & .Rows.Count
End With
Private Sub Workbook_Open()
With ActiveSheet
.ScrollArea = "a1:t" & .Rows.Count
End With
End Sub