Hello everyone,
I have below macro to view the workbook full screen, i'm just wondering if there is any way to not allow the user to exit full screen using "ESC", unless he use another macro to exit the full screen mode
Sub FullScreen_All()
Dim ws As Worksheet
For Each ws In Worksheets
ws.Activate
With ActiveWindow
.DisplayHeadings = False
.DisplayGridlines = False
End With
Next ws
For Each ws In ActiveWorkbook.Worksheets
Application.DisplayFormulaBar = False
Application.DisplayFullScreen = True
Next ws
End Sub
I have below macro to view the workbook full screen, i'm just wondering if there is any way to not allow the user to exit full screen using "ESC", unless he use another macro to exit the full screen mode
Sub FullScreen_All()
Dim ws As Worksheet
For Each ws In Worksheets
ws.Activate
With ActiveWindow
.DisplayHeadings = False
.DisplayGridlines = False
End With
Next ws
For Each ws In ActiveWorkbook.Worksheets
Application.DisplayFormulaBar = False
Application.DisplayFullScreen = True
Next ws
End Sub