firstWeMeet
Board Regular
- Joined
- Feb 8, 2011
- Messages
- 200
How to disable or remove Scroll bar located at right side of Excel?
Then try like this
Code:Private Sub Worksheet_Activate() ActiveWindow.DisplayVerticalScrollBar = False Me.ScrollArea = "A1:Z20" End Sub
Private Sub Worksheet_Activate()
ActiveWindow.DisplayVerticalScrollBar = False
ActiveWindow.DisplayHeadings = False
Me.ScrollArea = "A1:Z20"
End Sub
Private Sub Worksheet_Deactivate()
ActiveWindow.DisplayVerticalScrollBar = True
ActiveWindow.DisplayHeadings = True
End Sub
Private Sub Worksheet_Activate()
With ActiveWindow
.DisplayVerticalScrollBar = False
.DisplayHeadings = False
.DisplayWorkbookTabs = False
End With
Me.ScrollArea = "A1:Z20"
End Sub
Private Sub Worksheet_Deactivate()
With ActiveWindow
.DisplayVerticalScrollBar = True
.DisplayHeadings = True
.DisplayWorkbookTabs = True
End With
End Sub