+ Reply to Thread
Results 1 to 3 of 3

Hide ribbon

  1. #1
    Registered User
    Join Date
    01-08-2020
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    2010
    Posts
    9

    Hide ribbon

    Hi,

    I created a custom workbook with hide ribbon by using vba name is "Magic file".But when i open another workbook with after opening "Magic file" at a time, next work book also hiding ribbon.So how can i solved this problem? File password-"123". Plz help me..Hide ribbon code-

    Copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,090

    Re: Hide ribbon

    You would also need Workbook_Deactivate and Workbook_Activate event handlers which would do the same things as the Close and Open event handlers respectively.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    01-08-2020
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    2010
    Posts
    9

    Re: Hide ribbon

    Hi Mr TMS, a lot of thanks for your advice. But plz edit my code for solving my problem..

+ 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. Ribbon Hide
    By moktr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-25-2020, 10:04 AM
  2. Hide Ribbon
    By Toby1982 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-08-2019, 01:37 PM
  3. [SOLVED] Hide Ribbon
    By EssoExplJoe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-24-2017, 10:32 AM
  4. VBA Code to hide Ribbon Bar
    By pmgibbs79 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-30-2016, 12:13 AM
  5. [SOLVED] Hide Ribbon
    By pedjvak in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-31-2013, 03:01 AM
  6. Hide the Ribbon in Excel
    By Aland2929 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-17-2013, 12:33 PM
  7. Code to hide Ribbon
    By davidm in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-06-2012, 04:06 AM

Tags for this Thread

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