+ Reply to Thread
Results 1 to 5 of 5

Minimize Ribbon VBA

  1. #1
    Registered User
    Join Date
    02-03-2010
    Location
    new york
    MS-Off Ver
    Excel 2003
    Posts
    25

    Minimize Ribbon VBA

    Have searched these forums and others and still unable to find solution.

    Would like to be able to toggle the Ribbon in 2007: minimized and back.
    This is part of a custom ribbon application where the ribbon needs to be visible at all times but the user can minimize through a toggle button on the ribbon.

    I dont want to hide the ribbon, only minimize it. Sendkeys might be the only way to go, but I need to capture the state.

    as an analogy, i want something like this toggle:
    Please Login or Register  to view this content.
    but to minimize the ribbon.
    Last edited by WilliamJones; 12-26-2010 at 01:29 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Minimize Ribbon VBA

    So why not use FullScreen?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    02-03-2010
    Location
    new york
    MS-Off Ver
    Excel 2003
    Posts
    25

    Re: Minimize Ribbon VBA

    Quote Originally Posted by royUK View Post
    So why not use FullScreen?
    Good question. AFAIK, when you go to fullscreen there is nothing there to tell the user how to get the menu back - whereas if i leave the ribbon minimized they should be able to easily go back to a normal view. I'm not saying the average user is a moron, but many will look at the full screen with a blank look and not figure out what the escape key is for. As a design consideration, I want all menus and selections in the ribbon, consequently I want to avoid putting a control in the sheet itself to restore the view.

    For example, I use checkboxes in the ribbon itself for certain selections (with a callback to preserve the true/false state if the file is saved, closed, and reopened) i.e. no controls in the sheet. Similarly, I would prefer not to put instructions in the sheet either...for example "Hit escape to return to normal view". I had thought of putting a message in the application caption, but not sure user would notice it.

    merry xmas
    Last edited by WilliamJones; 12-24-2010 at 10:42 PM.

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Minimize Ribbon VBA

    Send keys is needed.

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  5. #5
    Registered User
    Join Date
    02-03-2010
    Location
    new york
    MS-Off Ver
    Excel 2003
    Posts
    25

    Re: Minimize Ribbon VBA

    Quote Originally Posted by Andy Pope View Post
    Send keys is needed.

    Please Login or Register  to view this content.
    Despite my aversion to sendkeys, that will be the way to go. Happy Holidays.

+ Reply to Thread

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