+ Reply to Thread
Results 1 to 7 of 7

Hide Tab on Custom Ribbon

Hybrid View

  1. #1
    Registered User
    Join Date
    02-03-2010
    Location
    new york
    MS-Off Ver
    Excel 2003
    Posts
    25

    Hide Tab on Custom Ribbon

    <!-- This Doesn't Work -->
    <tab idMso="TabData"  visible="false"/>
    What is the syntax?
    Thanks and Happy New Year.
    Last edited by WilliamJones; 01-05-2011 at 08:55 AM.

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,300

    Re: How do I Hide Tab on Custom Ribbon

    That syntax works for me.
    Anyone who confuses correlation and causation ends up dead.

  3. #3
    Registered User
    Join Date
    02-03-2010
    Location
    new york
    MS-Off Ver
    Excel 2003
    Posts
    25

    Re: How do I Hide Tab on Custom Ribbon

    Quote Originally Posted by romperstomper View Post
    That syntax works for me.
    Interesting. Can you copy paste your code directly from the xml - not just the snippet, everything.
    I've tried this several times and it hasn't worked. Must have some other error.

  4. #4
    Registered User
    Join Date
    02-03-2010
    Location
    new york
    MS-Off Ver
    Excel 2003
    Posts
    25

    Re: How do I Hide Tab on Custom Ribbon

    Quote Originally Posted by romperstomper View Post
    That syntax works for me.
    I'm at a loss for words.

    Got up early, new custom ribbon file, put in the code...it works.

    Is this a variant on the rubber duck approach?

    Thanks for your help bro, much appreciated.

    Cheers

  5. #5
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,300

    Re: How do I Hide Tab on Custom Ribbon

    Are you using the CustomUI editor? If so, have you run a syntax check? (I'm on a Mac now so can't post the XML until tomorrow)

  6. #6
    Registered User
    Join Date
    02-03-2010
    Location
    new york
    MS-Off Ver
    Excel 2003
    Posts
    25

    Re: How do I Hide Tab on Custom Ribbon

    Quote Originally Posted by romperstomper View Post
    Are you using the CustomUI editor? If so, have you run a syntax check? (I'm on a Mac now so can't post the XML until tomorrow)
    no..i find I only learn through handcoding. wordpad is my editor - at least that's all I have at work.
    thanks
    Last edited by WilliamJones; 01-04-2011 at 11:14 PM.

  7. #7
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,300

    Re: Hide Tab on Custom Ribbon

    OK here's the full XML:
    
    <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
    	<ribbon>
    		<tabs>
    			<tab idMso="TabData" visible="false" />
    		</tabs>
    	</ribbon>
    </customUI>

+ 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