+ Reply to Thread
Results 1 to 4 of 4

Disable Grey Out condition formatting in Ribbon

  1. #1
    Registered User
    Join Date
    05-12-2010
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2007
    Posts
    11

    Exclamation Disable Grey Out condition formatting in Ribbon

    Could any body to provide a vba code to disable(grey out) condition formatting command in ribbon. Because I generated a template and do not want user to change the condition formatting.

    I have tried below, but it did not work...
    Application.CommandBars(1).Controls("Format").Controls("Conditional Formatting...").Enabled = False

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

    Re: Disable Grey Out condition formatting in Ribbon

    In xl2007 and newer you control the ribbon via xml.
    http://www.rondebruin.nl/ribbon.htm

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

  3. #3
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Disable Grey Out condition formatting in Ribbon

    hi-please see forum rule 8

    8. Don't cross-post without a link. Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post. Expect cross-posts without a link to be closed.

    please add links here to your cross-posts in any other forums. thanks :-)
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  4. #4
    Registered User
    Join Date
    05-12-2010
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Disable Grey Out condition formatting in Ribbon

    Hi Andy,

    Yes, it works, excellent!

    BR,
    Edward
    Last edited by edwardhdwang; 09-30-2012 at 10:15 PM.

+ 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