Forum

Hide Quick Access T...
 
Notifications
Clear all

Hide Quick Access Toolbar in new excel update

3 Posts
2 Users
0 Reactions
102 Views
(@stevenbehr1)
Posts: 92
Estimable Member
Topic starter
 

Afternoon All,

 

I have just noticed the new version of excel 365 that when I open my database it shows the quick access toolbar.

Because I dont want anybody mucking around with the database I was wondering is there a code to either disable/hide the quick access toolbar from showing when the database is open.

 

I have a few codes that I have used previously such as

Private Sub Workbook_Open() Set myRange = ActiveSheet Application.ScreenUpdating = False Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)" Application.DisplayFormulaBar = False Application.DisplayStatusBar = Not Application.DisplayStatusBar ActiveWindow.DisplayWorkbookTabs = False
But this does not give me Application.DisplayQuickaccess = False

Or is there a way in Custom UI to disable it

Can anyone shed some light into this please. Is there a code where I can disbale Quick access toolbar?

Thanks

Steve
 
Posted : 17/11/2021 11:38 pm
Anders Sehlstedt
(@sehlsan)
Posts: 968
Prominent Member
 

Hello,

See if the info in this Microsoft support page gives any help.

Br,
Anders

 
Posted : 21/11/2021 4:21 pm
(@stevenbehr1)
Posts: 92
Estimable Member
Topic starter
 

Yes Thanks Anders,

It looks like I cant but I can disable the all the buttons relating to the Quick access tool bar.

For example SAVE AS:

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Dim xName As String
xName = "CancelBeforeSave"
Application.ThisWorkbook.Worksheets("TitlePage").Activate
Range("A1").Select
If SaveAsUI Then
MsgBox "Save As is disabled", vbInformation
Cancel = True
End If

End Sub

Or email or other buttons that relate to the workbook.

 

Anyway thanks for the help

 
Posted : 22/11/2021 8:25 pm
Share: