I have the following code:
which is linked to a key-board shortcut and attempts to turn full-screen mode on or off. The on portion works, but the off does not......... I do not think excel recognizes this if statement:![]()
If DisplayFullScreen = False Then Application.DisplayFullScreen = True ElseIf DisplayFullScreen = True Then Application.DisplayFullScreen = False End If
Any ideas on how to fix it?![]()
ElseIf DisplayFullScreen = True Then
Thank you.
Bookmarks