+ Reply to Thread
Results 1 to 5 of 5

Fullscreen Toggle Button

  1. #1
    Forum Contributor
    Join Date
    04-23-2014
    Location
    United Kingdom
    MS-Off Ver
    Microsoft 365
    Posts
    149

    Fullscreen Toggle Button

    Hi, I'm trying to turn this lot of code into a toggle button so I can switch between fullscreen and non-fullscreen whilst having the power to decide what stays on or off. As you can see below, the code is executed on the click of a button. The problem is when the button is clicked again nothing happens. How can I solve this?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Fullscreen Toggle Button

    Hi Statto,

    To toggle full Screen try:
    Please Login or Register  to view this content.
    Do the same with the other items you want to toggle.

    Lewis

  3. #3
    Forum Contributor
    Join Date
    04-23-2014
    Location
    United Kingdom
    MS-Off Ver
    Microsoft 365
    Posts
    149

    Re: Fullscreen Toggle Button

    Quote Originally Posted by LJMetzger View Post
    Hi Statto,

    To toggle full Screen try:
    Please Login or Register  to view this content.
    Do the same with the other items you want to toggle.

    Lewis
    Thanks. This code pretty much works, except for some reason the formula bar does not reappear after the button is clicked again to exit fullscreen.

    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Fullscreen Toggle Button

    Hi,

    You did everything correctly. The code showed the same problem on my computer (Excel 2003). Apparently there is a 'side effect' when trying to ENABLE the 'Formula Bar' display, when the Full Screen was previously ENABLED.

    Try the following code, which seemed to work for me.

    Lewis

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    04-23-2014
    Location
    United Kingdom
    MS-Off Ver
    Microsoft 365
    Posts
    149

    Re: Fullscreen Toggle Button

    Quote Originally Posted by LJMetzger View Post
    Hi,

    You did everything correctly. The code showed the same problem on my computer (Excel 2003). Apparently there is a 'side effect' when trying to ENABLE the 'Formula Bar' display, when the Full Screen was previously ENABLED.

    Try the following code, which seemed to work for me.

    Lewis

    Please Login or Register  to view this content.
    Thanks a lot. That works well.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Toggle Button on Workbook Open - value is True but button not pressed?
    By excelnat in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 07-03-2014, 11:23 AM
  2. Toggle Button Does not Toggle OFF when Clicked
    By robbfamily in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-19-2014, 05:12 PM
  3. Replies: 1
    Last Post: 02-13-2014, 10:55 PM
  4. [SOLVED] After fullscreen Excel is minimized, how to restore back to fullscreen with no ribbon/menu
    By jimmalk in forum Excel Programming / VBA / Macros
    Replies: 31
    Last Post: 01-04-2013, 02:52 AM
  5. [SOLVED] Toggle Button & getting the postion of the just pressed button
    By NugentS in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-12-2012, 11:58 AM

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