+ Reply to Thread
Results 1 to 4 of 4

Collapse the Ribbon using VBA

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

    Collapse the Ribbon using VBA

    I have a file shared over Dropbox mainly by 2010 users that has macros to arrange as either Full screen or with Ribbon visible.
    When used by Office/Excel 365 users the with Ribbon visible has the tabs plus ribbon visible taking up too much real estate. The manually available "Collapse the Ribbon" action is required as a VBA
    What line of code will do this please?

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2406 Win 11 Home 64 Bit
    Posts
    23,961

    Re: Collapse the Ribbon using VBA

    Here is a link to several solutions. Pick one and test it.

    https://www.google.com/search?q=exce...hrome&ie=UTF-8
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

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

    Re: Collapse the Ribbon using VBA

    As far as I can see they all relate to the older Excel versions and don't create the requested situation for 365 use.
    I've certainly tried many of them without success.
    Does anyone know the one that works?

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,126

    Re: Collapse the Ribbon using VBA

    How about
    Please Login or Register  to view this content.

+ 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. [SOLVED] Customize Ribbon by XML - Restart Ribbon
    By Joakim N in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-16-2018, 05:54 AM
  2. Put VBA ribbon together with Custom UI Editor Ribbon
    By czarlando in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-23-2016, 05:46 AM
  3. collapse columns in conjunction with a collapse rows macro
    By waternut in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-13-2015, 04:50 PM
  4. [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
  5. [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
  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
  7. Collapse Columns
    By donlincolnef in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-20-2010, 04:03 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