I want to know whether is possible to add buttons from Word to my ribbon.vb
It is to say: Show the control from Word and run the function from Word
directly.
For example in this case I want to add to my ribbon the control numbering
from Word.
Best regards
I'm not sure I really understand your question, but it sounds like you're
asking whether you can use Word VBA to add things to your Ribbon?
No, that's not possible. The Ribbon must be fully defined before it is loaded
by the Office application (Word). It can contain hidden or disabled controls
that the callbacks can dynamically display or enable, but nothing new can be
added.
If you want code outside the project that contains the Ribbon to influence
the Ribbon, then the project must expose methods for doing this. For VBA,
this could be COMVisible methods in a VSTO Add-in, for example.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)