How to disable or remove Scroll bar located at right side of Excel?

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
You can also turn it off in the Options. For 2007 and later it's in the Advanced section; for 2003 and prior it's in the View tab.
 
Upvote 0
As far as I know you cannot do that for individual sheets. You can restrict the scroll area for individual sheets:

Code:
Sheets("Sheet1").ScrollArea = "A1:Z20"
 
Upvote 0
You could also use the activate event of the sheets to turn the scrollbar on and off.
 
Upvote 0
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
 
Upvote 0
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

I try this, :D but I can still scroll the sheet using my mouse scroller.
 
Upvote 0
Then try like this

Code:
Private Sub Worksheet_Activate()
ActiveWindow.DisplayVerticalScrollBar = False
Me.ScrollArea = "A1:Z20"
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,647
Messages
6,120,722
Members
448,987
Latest member
marion_davis

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top