firstWeMeet
Board Regular
- Joined
- Feb 8, 2011
- Messages
- 200
How to disable or remove Scroll bar located at right side of Excel?
Try
Code:ActiveWindow.DisplayVerticalScrollBar = False
Private Sub Worksheet_Activate()
ActiveWindow.DisplayVerticalScrollBar = False
End Sub
Private Sub Worksheet_Deactivate()
ActiveWindow.DisplayVerticalScrollBar = True
End Sub
Try like this in the sheet's code module (pinching Rory's idea )
Code:Private Sub Worksheet_Activate() ActiveWindow.DisplayVerticalScrollBar = False End Sub Private Sub Worksheet_Deactivate() ActiveWindow.DisplayVerticalScrollBar = True End Sub