Consulting

Results 1 to 2 of 2

Thread: Solved: problem inserting more than one with tab or customGroups

  1. #1
    VBAX Regular
    Joined
    May 2010
    Posts
    65
    Location

    Solved: problem inserting more than one with tab or customGroups

    I have problems inserting two customGroups in one tab and modifying the Home tab while at the same time adding an additional tab.

    Below are two scripts that illustrate the problem. If somebody could correct the code for me that would be great.

     
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    
    <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
    
    <ribbon>
    <tabs>
    <tab id="customTab1" label="Detlef's stuff" insertAfterMso="TabAcrobat">
    
    <group id="customGroup1" label="Author Analysis stuff" insertAfterMso="GroupEditingExcel">
    <button id="customButton1" label="Find duplicate" size="large" onAction="Duplicate" imageMso="DefaultView" />
    <button id="customButton2" label="XMLtoCSV" size="large" onAction="XMLtoCSV" imageMso="FieldChooser" />
    <button id="customButton3" label="Consolidate" size="large" onAction="Consol" imageMso="ConditionalFormattingHighlightTextContaining" />
    <button id="customButton4" label="Author Analysis" size="large" onAction="AuthorAnalysis" imageMso="WhatIfAnalysisMenu" />
    </group>
    
    <group id="customGroup2" label="Other stuff" insertAfterMso="customGroup1">
    <button id="customButton1" label="GetLink" size="large" onAction="GetHyperlink" imageMso="HyperlinkInsert" />
    </group>
    
    </tab>
    </tabs>
    </ribbon>
    
    </customUI>
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    
    <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
    
    <ribbon>
    	<tabs>
    	<tab idMso="TabHome">
    
    		<group id="customGroup1" label="My stuff" insertAfterMso="GroupEditingExcel">
    			<button id="customButton1" label="GetLink" size="large" onAction="GetHyperlink" imageMso="HyperlinkInsert" />
    		</group>
    
    	<tab id="customTab1" label="Detlef's stuff" insertAfterMso="TabAcrobat">
    
    		<group id="customGroup1" label="Author Analysis stuff" insertAfterMso="GroupEditingExcel">
    			<button id="customButton1" label="XMLtoCSV" size="large" onAction="XMLtoCSV" imageMso="FieldChooser" />
    			<button id="customButton2" label="Find duplicate" size="large" onAction="Duplicate" imageMso="DefaultView" />
    			<button id="customButton3" label="Consolidate" size="large" onAction="Consol" imageMso="ConditionalFormattingHighlightTextContaining" />
    			<button id="customButton4" label="Author Analysis" size="large" onAction="AuthorAnalysis" imageMso="WhatIfAnalysisMenu" />
    		</group>
    
    	</tab>
    	</tabs>
    </ribbon>
    
    </customUI>

  2. #2
    VBAX Regular
    Joined
    May 2010
    Posts
    65
    Location
    Below the answer to the problem:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
    <ribbon>
     <tabs>
     <tab idMso="TabHome">
      <group id="customGroup1" label="My stuff" insertAfterMso="GroupEditingExcel">
       <button id="customButton1" label="GetLink" size="large" onAction="GetHyperlink" imageMso="HyperlinkInsert" />
      </group>
     </tab>
     <tab id="customTab1" label="Detlef's stuff" insertAfterMso="TabAcrobat">
      <group id="customGroup2" label="Author Analysis stuff" insertAfterMso="GroupEditingExcel">
       <button id="customButton2" label="XMLtoCSV" size="large" onAction="XMLtoCSV" imageMso="FieldChooser" />
       <button id="customButton3" label="Find duplicate" size="large" onAction="Duplicate" imageMso="DefaultView" />
       <button id="customButton4" label="Consolidate" size="large" onAction="Consol" imageMso="ConditionalFormattingHighlightTextContaining" />
       <button id="customButton5" label="Author Analysis" size="large" onAction="AuthorAnalysis" imageMso="WhatIfAnalysisMenu" />
      </group>
      <group id="customGroup3" label="My stuff" insertAfterMso="GroupEditingExcel">
       <button id="customButton6" label="GetLink" size="large" onAction="GetHyperlink" imageMso="HyperlinkInsert" />
      </group>
     </tab>
     </tabs>
    </ribbon>
    </customUI>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •