Sub Workbook_Open()
If Application.DisplayFullScreen = False Then
Application.DisplayFullScreen = True
End If
ActiveSheet.EnableSelection = xlUnlockedCells
End Sub
Sub Workbook_BeforeClose(Cancel As Boolean)
If Application.DisplayFullScreen = True Then
Application.DisplayFullScreen = False
End If
ActiveSheet.EnableSelection = xlUnlockedCells
End Sub
Wie kann ich nun die Symbolleiste Gesamtansicht ausblenden damit man nicht die Möglichkeit hat diese wieder einzublenden?
Gruß
Muss ich das genau so hinschreiben
Ja.
Gruß
Rudi
Eine Kuh macht Muh, viele Kühe machen Mühe
Sub Workbook_Open()
If Application.DisplayFullScreen = False Then
Application.DisplayFullScreen = True
End If
ActiveWindow.Zoom = 60
CommandBars("worksheet menu bar").FindControl(ID:=178, recursive:=True).Enabled = False
ActiveSheet.EnableSelection = xlUnlockedCells
End Sub
Private Sub Workbook_Open()
' If Application.DisplayFullScreen = False Then '?wozu die Bedingung?
Application.DisplayFullScreen = True
' End If
ActiveWindow.Zoom = 60
Application.CommandBars("worksheet menu bar").FindControl _
(ID:=178, recursive:=True).Enabled = False
ActiveSheet.EnableSelection = xlUnlockedCells
End Sub
Gruß
Rudi
Eine Kuh macht Muh, viele Kühe machen Mühe