VBA Code to Hide Quick Access Toolbar

MikeG

Well-known Member
Joined
Jul 4, 2004
Messages
845
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
I am hoping someone can give me the VBA code to hide the QAT.

In my research I have seen code to hide the main menu/ribbon, and which also hides the QAT:

Application.ExecuteExcel4Macro "show.toolbar(""Ribbon"",false)"

However, I want to keep the main menu/ribbon and only hide the QAT,.

Thanks,

Mike
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Thanks Logit.

The naming for the screen components seems to vary a bit by source, but I am seeing two main components. There is what some call the "Tab Bar" that has the standard "File" "Home", etc. choices and this bar is directly linked to the full ribbon, which can be shown or hidden using Ctrl F1. The second is the QAT, which is the bar where you can define your own buttons.

I did see the article you linked to, and that shows how to hide the Tab Bar and the Ribbon, and I guess as a side-effect, that also hides the QAT.

As the top of the article explains:

"I'll show you how to completely remove the entire Quick Access Toolbar from Excel... This method will also remove the Ribbon Menu"

Maybe there is no way to isolate the QAT.

Thanks again.
 
Upvote 0
You then are referring to the small DOWN ARROW that allows you to Customize the QAT ?

QAT.jpg
 
Upvote 0
I'm referring to the whole bar, of which the Down Arrow is a part, and which has the disk symbol and the undo and redo symbols. I am calling this whole QAT bar. I want to hide that, but keep displaying the main menu tab bar and ribbon as displayed.

Thanks
 
Upvote 0

Forum statistics

Threads
1,215,043
Messages
6,122,816
Members
449,095
Latest member
m_smith_solihull

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