Hi,
I need to lock the screen in fullscreen mode if a user does not have a certain security level. I can get the screen to be fullscreen, and hide the menus, and I've also disabled all keys except the ones they need for data entry, as well as disabled right click. I though I had it all covered, but I realized that if you put the mouse all the way up at the top of the screen and dbl-click, or click and drag, then the excel application window will exit fullscreen mode.
I've tried:
But this seems to only be triggered by the workbook's window within the application. Is there anyway to accomplish the same thing with the excel application window?
I need to lock the screen in fullscreen mode if a user does not have a certain security level. I can get the screen to be fullscreen, and hide the menus, and I've also disabled all keys except the ones they need for data entry, as well as disabled right click. I though I had it all covered, but I realized that if you put the mouse all the way up at the top of the screen and dbl-click, or click and drag, then the excel application window will exit fullscreen mode.
I've tried:
Code:
Private Sub Workbook_WindowResize(ByVal Wn As Window)
If Not oSettings.AllowMenus Then
If Application.DisplayFullScreen = False Then Application.DisplayFullScreen = True
End If
End Sub
But this seems to only be triggered by the workbook's window within the application. Is there anyway to accomplish the same thing with the excel application window?