Decide which ribbon tab to be selected

Syspect

The program, that I'm working on, has a separate (additional) Add-in tab in the Excel ribbon. And there are our custom controls, etc. Some of the controls open a new workbook (new Excel window).

In Excel 2010, when the new workbook is opened, our custom tab is selected by default. But in 2013, the first (Home) tab is selected.

In the project, there is no code that controls which tab to be selected by default in a newly open workbook. That is why I am wondering it works in 2010, but not in 2013?

I researched about that, but I could find mostly articles about "how to create new tab", etc.

Any ideas and suggestions are welcome.

Milkncookiez

This should be the fix you're looking for:

yourRibbonInstance.ActivateTab("tabID")

keep in mind that the id of the tab might not be the same as its displayed name.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Bootstrap tabpanel which tab is selected

From Dev

Which tab is currently selected in Terminator?

From Dev

Change Tab color depending on which tab is selected

From Dev

How to add ribbon command to exist ribbon tab

From Dev

Change website shown in webView after which tab you've selected

From Dev

Decide which SignalR Hub to connect to

From Dev

How to decide which layout to use?

From Dev

Android TabLayout always shows first tab indicator irrespective of which tab is selected

From Dev

how to decide which activity we came from?

From Dev

How to decide which BufferedImage image type to use?

From Dev

Gulp prompt to decide which tasks to run?

From Dev

How to decide which promise does a then/catch according to

From Dev

How to decide which framework to use for node?

From Dev

use expression to dynamically decide which subreport to open

From Dev

How to decide which stepPattern to use in DTW algorithm

From Dev

How to decide which module is a submodule of the other in git?

From Dev

Decide which Window open in QT on start

From Dev

how to decide which activity we came from?

From Dev

Decide which JavaConfig class to load at runtime

From Dev

How does windows decide which executable to run

From Dev

LINQ - Decide which date is the oldest for each record

From Dev

How to decide which angular custom directive to use

From Dev

Which param decide input tensor size?

From Dev

Excel VBA hiding custom ribbon tab

From Dev

Ensure Unique Ribbon Tab For Excel Add-In

From Dev

Changing Ribbon Tab Name Throws Exception

From Dev

css tab issue with selected tab

From Dev

css tab issue with selected tab

From Dev

All React-bootstrap Tabs render function gets called every time regardless of which tab was selected

Related Related

  1. 1

    Bootstrap tabpanel which tab is selected

  2. 2

    Which tab is currently selected in Terminator?

  3. 3

    Change Tab color depending on which tab is selected

  4. 4

    How to add ribbon command to exist ribbon tab

  5. 5

    Change website shown in webView after which tab you've selected

  6. 6

    Decide which SignalR Hub to connect to

  7. 7

    How to decide which layout to use?

  8. 8

    Android TabLayout always shows first tab indicator irrespective of which tab is selected

  9. 9

    how to decide which activity we came from?

  10. 10

    How to decide which BufferedImage image type to use?

  11. 11

    Gulp prompt to decide which tasks to run?

  12. 12

    How to decide which promise does a then/catch according to

  13. 13

    How to decide which framework to use for node?

  14. 14

    use expression to dynamically decide which subreport to open

  15. 15

    How to decide which stepPattern to use in DTW algorithm

  16. 16

    How to decide which module is a submodule of the other in git?

  17. 17

    Decide which Window open in QT on start

  18. 18

    how to decide which activity we came from?

  19. 19

    Decide which JavaConfig class to load at runtime

  20. 20

    How does windows decide which executable to run

  21. 21

    LINQ - Decide which date is the oldest for each record

  22. 22

    How to decide which angular custom directive to use

  23. 23

    Which param decide input tensor size?

  24. 24

    Excel VBA hiding custom ribbon tab

  25. 25

    Ensure Unique Ribbon Tab For Excel Add-In

  26. 26

    Changing Ribbon Tab Name Throws Exception

  27. 27

    css tab issue with selected tab

  28. 28

    css tab issue with selected tab

  29. 29

    All React-bootstrap Tabs render function gets called every time regardless of which tab was selected

HotTag

Archive