M
Marvin Hlavac
I would like to somehow make sure no tool bar opens when my workbook opens.
How to do this with Formula Bar and Status Bar??? With other tool bars I use
this:
Private Sub Workbook_WindowActivate(ByVal Wn As Window)
Application.CommandBars("Worksheet Menu Bar").Enabled = False
Application.CommandBars("Standard").Enabled = False
Application.CommandBars("Formatting").Enabled = False
Application.CommandBars("Drawing").Enabled = False
End Sub
Private Sub Workbook_WindowDeactivate(ByVal Wn As Window)
Application.CommandBars("Worksheet Menu Bar").Enabled = True
Application.CommandBars("Standard").Enabled = True
Application.CommandBars("Formatting").Enabled = True
Application.CommandBars("Drawing").Enabled = True
End Sub
Any help will be greatly appreciated.
How to do this with Formula Bar and Status Bar??? With other tool bars I use
this:
Private Sub Workbook_WindowActivate(ByVal Wn As Window)
Application.CommandBars("Worksheet Menu Bar").Enabled = False
Application.CommandBars("Standard").Enabled = False
Application.CommandBars("Formatting").Enabled = False
Application.CommandBars("Drawing").Enabled = False
End Sub
Private Sub Workbook_WindowDeactivate(ByVal Wn As Window)
Application.CommandBars("Worksheet Menu Bar").Enabled = True
Application.CommandBars("Standard").Enabled = True
Application.CommandBars("Formatting").Enabled = True
Application.CommandBars("Drawing").Enabled = True
End Sub
Any help will be greatly appreciated.