How to disable Page View buttons (Normal, Page Layout, Page Break View) next to Zoom on status bar

ACommandLineKindaGuy

Active Member
Joined
May 11, 2002
Messages
378
Office Version
  1. 365
Platform
  1. Windows
Amazing how impossible it is to phrase this search on Google... I'm not interested in manipulating or viewing page breaks. All I want is to be in normal view.

I am not interested in workarounds similar to attaching
Code:
If ActiveWindow.View <> xlNormalView Then ActiveWindow.View = xlNormalView
to some event.

I want to either disable or hide these buttons.

TIA John
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Right click the status bar & uncheck "View shortcuts"
 
Upvote 0
Thanks! I didn't know about that right click functionality.

However, this is an excel setting, meaning it applies to all workbooks and not just the active one.

So how do I uncheck shortcuts and disable the status bar using vba for just the active workbook?
 
Upvote 0
Not sure you can, I'm afraid.
 
Upvote 0
Interesting question.

Is there a way of displaying the statusbar right-click context menu via vba ?

Something similar to CommandBars("Cell").showPopUp

If there is a way , I guess we could use the MSAA to turn off/on its elements.

Regards.
 
Upvote 0

Forum statistics

Threads
1,213,496
Messages
6,113,993
Members
448,539
Latest member
alex78

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