+ Reply to Thread
Results 1 to 4 of 4

VBA Macro Excel Protect and hide Ribbons

  1. #1
    Registered User
    Join Date
    03-15-2017
    Location
    Egypt, Cairo
    MS-Off Ver
    MS Office 2013
    Posts
    0

    VBA Macro Excel Protect and hide Ribbons

    I need to protect and disable all the ribbons in only my workbook not all workbooks, I created a button to Unprotect and Enable ribbons and it's working normally, but the problem the full screen effect in all workbooks.
    Any kindly solutions ?

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166
    Hello Sagy,

    Welcome to Excelforum. Be a part of large Excel community. Enjoy Learning.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    03-15-2017
    Location
    Egypt, Cairo
    MS-Off Ver
    MS Office 2013
    Posts
    0

    Re: VBA Macro Excel Protect and hide Ribbons

    Thanks Arlu

  4. #4
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: VBA Macro Excel Protect and hide Ribbons

    Quote Originally Posted by Sagy View Post
    ....
    Any kindly solutions ?
    Hi Sagy
    Welcome to Excel Forum
    Do you realise that this Sub Forum where you have posted is just the Sub Forum to say hello ?

    You must start a new Thread in one of the main Sub Forums https://www.excelforum.com/ , .. If you need help.

    These are the main Excel Forums:
    Excel General : http://www.excelforum.com/excel-general/
    or here:
    Formulas and Functions: http://www.excelforum.com/excel-formulas-and-functions/
    or if you would consider a macro solution then here:
    VBA Programming: http://www.excelforum.com/excel-programming-vba-macros/

    If you are not sure of exactly the type of solution you require, then probably the first Sub Forum will do: http://www.excelforum.com/excel-general/

    _............................................

    Alan

    _..............................................





    P.s. Unless someone is very familiar with having done something exactly as you are doing, then I think you may need to give a bit more detail. Some test data is helpful
    Remember to reduce the amount of test data to the minimum required to demonstrate typical scenarios. Desensitize the data if necessary.
    If appropriate, show us clearly what you have ( The BEFORE ) and the results you want to achieve ( the AFTER ).
    Please do not use images !!! as we cannot copy them to a worksheet.

    Regarding how to give us that data ( Most people prefer b) to upload a File BUT remember to minimize the amount and desensitise data )

    Either:
    _a) Post screenshots COPYABLE !!! to a Spreadsheet: ( !!! Not Images please !!! )– See my signature below,
    or here:
    http://www.excelforum.com/excel-prog...ml#post4399581
    Practice here in the Test Sub Forum:
    http://www.excelforum.com/development-testing-forum/ ( Start a new Thread. Title it something like “Just Testing, no Reply needed” )
    OR:
    _b) Upload a Workbook
    : See here:
    http://www.excelforum.com/the-water-...his-forum.html ( ** Use Method 2 and Method 3 ( Method 1 is currently not working )
    http://www.excelforum.com/suggestion...ml#post4335120
    OR:
    There is also the file share site option such as this free thing:
    https://app.box.com/signup/personal
    (_ .Remember to select Share after uploading and give us the link they provide if you use that )
    But Note: a lot of people can’t / won’t download a File from an external site. So this method is not preferred here
    For security reasons and to increase your chances of a response, It is preferable to upload a File with no codes in it and post any codes in the Thread ( using Code Tags: [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] ; or Short Cut Editor Icon ( you may need to Hit Go Advanced to see it if Replying to a Thread ) # ).

    OR:
    _c) Select the table Icon above, select an appropriate size table and fill it in (***If replying to a Thread you may need to select the Go Advanced Button, ( bottom right of reply Window ) to get the Table Icon to show )


    You can Practice Posting techniques here:
    http://www.excelforum.com/development-testing-forum/
    Just start a Thread there with a title like “Just testing, No reply needed”. Or just do a reply to any other Thread were someone is “just testing”
    Thanks,
    Alan

    P.s. Also: Please, also, if you haven’t already , take some time before posting to read the Forum Rules and posting suggestions here:

    English: http://www.excelforum.com/forum-rule...rum-rules.html
    http://www.excelforum.com/showthread...42#post4519006

    Other languages: http://www.excelforum.com/forums-rules/
    It is usually worth it in the long run.

    Thanks



    _...
    '_- Google first, like this _ site:ExcelForum.com Gamut
    Use Code Tags: Highlight code; click on the # icon above,
    Post screenshots COPYABLE to a Spredsheet; NOT IMAGES PLEASE
    http://www.excelforum.com/the-water-...ml#post4109080
    https://app.box.com/s/gjpa8mk8ko4vkwcke3ig2w8z2wkfvrtv
    http://excelmatters.com/excel-forums/ ( Scrolll down to bottom )

+ 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 to Hide Most Worksheets, Protect Workbook, Save a Copy
    By brendangroff in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-09-2016, 02:40 PM
  2. [SOLVED] Hide ribbons when Macros are disabled
    By xlman in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-15-2014, 08:42 AM
  3. Replies: 3
    Last Post: 09-23-2013, 11:49 PM
  4. Replies: 2
    Last Post: 01-17-2013, 08:39 AM
  5. Hide and Protect Columns -Excel 2007
    By angi1 in forum Excel General
    Replies: 4
    Last Post: 11-17-2012, 07:39 AM
  6. Ribbons and Macro Buttons
    By ashleys.nl in forum Excel General
    Replies: 5
    Last Post: 10-01-2011, 02:25 AM
  7. Replies: 2
    Last Post: 07-08-2011, 07:44 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