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

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
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,224,815
Messages
6,181,135
Members
453,021
Latest member
Justyna P

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