Gruppe
Menue
Problem
Ein Klick auf die Schaltfläche blendet die Arbeitsblatt-Menüleiste, die Standard- und die Format-Symbolleiste ein, falls diese ausgeblendet sind.
StandardModule: Modul1
Sub CmdBarEinAus()
With Application.CommandBars("Worksheet Menu Bar")
.Enabled = True
.Visible = True
End With
Application.CommandBars("Standard").Visible = True
Application.CommandBars("Formatting").Visible = True
End Sub