AW: Ein und Ausblenden /Vba
22.08.2004 17:02:32
Fredi
Hallo,
das mit der Aufzeichnung hat soweit geklappt!
Ein Punkt wäre da aber noch, das Menü!
Wie bekomme ich auch das noch ausgeblendet?
Kann unter Optionen nichts finden, oder hab ich etwas übersehen?
Gruß
Fredi
Sub Ausblenden()
' Ausblenden Makro
' Makro am 22.08.2004 aufgezeichnet
Application.CommandBars("Formatting").Visible = False
Application.CommandBars("Standard").Visible = False
With ActiveWindow
.DisplayHeadings = False
.DisplayHorizontalScrollBar = False
.DisplayVerticalScrollBar = False
.DisplayWorkbookTabs = False
End With
With Application
.DisplayFormulaBar = False
.DisplayStatusBar = False
.ShowWindowsInTaskbar = False
End With
End Sub
Sub Einblenden()
' Einblenden Makro
' Makro am 22.08.2004 aufgezeichnet
Application.CommandBars("Formatting").Visible = True
Application.CommandBars("Standard").Visible = True
With ActiveWindow
.DisplayHeadings = True
.DisplayHorizontalScrollBar = True
.DisplayVerticalScrollBar = True
.DisplayWorkbookTabs = True
End With
With Application
.DisplayFormulaBar = True
.DisplayStatusBar = True
.ShowWindowsInTaskbar = True
End With
End Sub