How to change default ribbon tab when launching Word 2007

Z

- zmarlonz -

Is it possible to change the default tab everytime I run MS Word 2007?

For example, when I open Word 2007, the default tab is HOME, then I decided
to click the ADDINS to show my custom toolbars. Then close the application.
The next time the application is run, I wanted to see that the default tab is
the ADDINS.

One more thing, is this also possible programmatically? I am embedding
MSWord library in my program which is responsible for launching MS Word.

Please help.

Thank you in advance.
 
Z

- zmarlonz -

- zmarlonz - said:
Is it possible to change the default tab everytime I run MS Word 2007?

For example, when I open Word 2007, the default tab is HOME, then I decided
to click the ADDINS to show my custom toolbars. Then close the application.
The next time the application is run, I wanted to see that the default tab is
the ADDINS.

One more thing, is this also possible programmatically? I am embedding
MSWord library in my program which is responsible for launching MS Word.

Please help.

Thank you in advance.

By the way, this is for VS 2005 C++, MFC.
 
Y

Yves Dhondt

Yes, but not through any option. You will have to create an addin which
stores the 'active tab' when quitting Word and then selecting the tab when
Word starts.

For information on seeing which tab is selected, or how to select a certain
tab, you can check out the following excellent VBA example by Tony Jollans
(should be easy to translate to C++):
http://www.wordarticles.com/Shorts/RibbonVBA/RibbonVBADemo.htm

Note that other addins might influence the ribbon as well, while users could
also uninstall addins without running Word thereby influencing the ribbon on
its next start.

Yves
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top