Results 1 to 3 of 3

toggle to turn full screen mode on and off via onkey shortcut

Threaded View

luv2glyd toggle to turn full screen... 10-23-2010, 01:58 PM
Leith Ross Re: toggle to turn full... 10-23-2010, 02:40 PM
luv2glyd Re: toggle to turn full... 10-23-2010, 02:54 PM
  1. #1
    Valued Forum Contributor luv2glyd's Avatar
    Join Date
    07-13-2008
    Location
    Seattle, WA, US
    MS-Off Ver
    Excel 2010
    Posts
    679

    toggle to turn full screen mode on and off via onkey shortcut

    I have the following code:

    If DisplayFullScreen = False Then
        Application.DisplayFullScreen = True
    ElseIf DisplayFullScreen = True Then
        Application.DisplayFullScreen = False
    End If
    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:

    ElseIf DisplayFullScreen = True Then
    Any ideas on how to fix it?

    Thank you.
    Last edited by luv2glyd; 10-23-2010 at 02:55 PM.
    You either quit or become really good at it. There are no other choices.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1