[I'm switching this to a new thread with a descriptive Subject line.]
This question from: Yinru Hou
Hello, Govert:
bother u again.
Gosh I am so rusty on C++. I may switch to Excel-DNA sooner.
Does it also support GUI?
My addin has a menu/tab in Excel 2007?
thanks
- - - - - - - - - - - - - - - - - - -
Hi Yinru,
Yes, with Excel-DNA you can add Excel 2007/2010 ribbons and even have
old-style command bars as a fallback when running under Excel 2003.
There are some samples of this under Distribution\Samples\Ribbon.
The Ribbon xml can either be in your .dna file, or in a resource a
loaded from your code.
There has been some a few discussions on this newsgroup too, with some
external links with more information on the Ribbon. This will find
some of these discussions:
http://groups.google.com/group/exceldna/search?group=exceldna&q=ribbon&qt_g=Search+this+group.
If you have created the Ribbon in VSTO in Visual Studio, I think you
can export the ribbon definition to .xml, which you can then re-use in
the Excel-DNA add-in. You'd have to take a bit more care with the
event handlers though.
-Govert