none
How to hide ChartSwitchRowColumn button using customui RRS feed

  • Question

  • In my addin, I add ribbon and customize chart's ribbon:

        <contextualTabs>
          <tabSet idMso="TabSetChartTools">
            <tab idMso="TabChartToolsDesignNew">
              <group idMso="GroupChartLayouts" visible="false"/>
              <group idMso="GroupChartStyles" visible="false"/>
              <group idMso="GroupChartType" visible="false"/>
              <group idMso="GroupChartLocation" visible="false"/>
              <group idMso="GroupChartData" >
                <button idMso="ChartSwitchRowColumn" visible="false"/>
                <button id="XXX" label="FFFF"/>
              </group>

    But I can't add button in GroupChartData and I can't make ChartSwitchRowColumn invisible.

    How can I do this?

    And can I hide these buttons when chart is selected?


    • Edited by ChDw Thursday, December 8, 2016 7:19 AM Wrong picture
    Thursday, December 8, 2016 7:13 AM

Answers

  • Hi,

    I think you did not check "Show add-in user interface error" in Excel Options.

    I suggest you follow How to: Show Add-in User Interface Errors.

    Then you could get the following error:

    Besides, it is impossible to hide the three button.

    Regards,

    Celeste


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by ChDw Monday, December 12, 2016 8:19 AM
    Friday, December 9, 2016 8:15 AM
    Moderator