Click here to Skip to main content
14,241,400 members
Rate this:
Please Sign up or sign in to vote.
See more:
I am trying to select Home tab programmatically.

What I have tried:

private IRibbonUI ribbon;
Ribbon ribbon = new Ribbon();
ribbon.ribbon.ActivateTabMso("TabHome");
Posted
Updated 17-Jun-19 2:08am
Comments
Maciej Los 29-Apr-19 3:26am
   
Is this a question or solution?
dirtyshooter 29-Apr-19 4:32am
   
question.

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

As far as i remember, it should be something like this:
this.ribbon.RibbonUI.ActivateTabMso("TabHome");


More:Office Activating Excel Ribbon Tab sample in C#, VB.NET for Visual Studio 2010[^]
   
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100