+ Reply to Thread
Results 1 to 5 of 5

Minimise ribbon in macro

  1. #1
    Registered User
    Join Date
    10-31-2012
    Location
    Victoria, Australia
    MS-Off Ver
    Excel 2010
    Posts
    79

    Minimise ribbon in macro

    I've seen how to turn the ribbon Off and On however all I wish to do is minimise it so that the title rows remain visible.
    Just like Ctrl + F1 does.

  2. #2
    Valued Forum Contributor quekbc's Avatar
    Join Date
    01-18-2010
    Location
    Sydney, Australia
    MS-Off Ver
    2010, 2013, 2016
    Posts
    1,149

    Re: Minimise ribbon in macro

    Try...

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    06-23-2014
    Location
    Dubbo, Australia
    MS-Off Ver
    EXCEL 2019
    Posts
    180

    Re: Minimise ribbon in macro

    This code, provided by another member of the Access VBA forum, works for me every time. I put it in the Workbook.Open
    Please Login or Register  to view this content.
    Pete
    Pete
    Struggling Solutions Architect

  4. #4
    Valued Forum Contributor quekbc's Avatar
    Join Date
    01-18-2010
    Location
    Sydney, Australia
    MS-Off Ver
    2010, 2013, 2016
    Posts
    1,149

    Re: Minimise ribbon in macro

    I did see the ExecuteMso somewhere, but I couldn't get it to work on my version of Excel.

    Must be a post Excel 2010 thing. My work computer still uses 2007.

  5. #5
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,447

    Re: Minimise ribbon in macro

    Hi,

    Pete above is correct that it toggles the maximize / minimize, using the same code. (Stupid?) See if this site helps.

    http://visualbasic.ittoolbox.com/gro...l-2010-5344065
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ 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. Macro needed to minimise all windows
    By Urby1Kinobe in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-17-2015, 05:50 AM
  2. need Macro Run when I click on Ribbon any tab
    By lulupatel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-14-2015, 05:34 AM
  3. [SOLVED] Ribbon Change based on Non-Ribbon Object
    By diakonos1984 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 11-07-2014, 01:18 PM
  4. [SOLVED] An alternative to the Add-Ins ribbon tab - Global Custom Ribbon Tab by Ken Puls
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-16-2014, 10:01 PM
  5. Minimise macro
    By mukeshbaviskar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-22-2013, 09:41 PM
  6. Ribbon - Multiple xlam adding into single Ribbon tab
    By gooopil in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-09-2011, 03:40 PM

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