all groups > c# > april 2007 >
You're in the

c#

group:

Cascading Menu for Excel Addin in C#


Cascading Menu for Excel Addin in C# shantanu
4/30/2007 10:11:13 PM
c#:
Dear All
I have a requirement for creating a sub menu. I have been
working on the addin and was able to put the addin in the tools menu
of excel. The menu will be something like:

1. Main Item
1.a. Sub item 1
1.a.i sub item 1
1.a.ii sub item 2
1.b. Sub item 1
1.b.i sub item 1
1.b.ii sub item 2

Can anybody help in creating this kind of menu formation in excel from
C# addin.

Regards
shantanu
Re: Cascading Menu for Excel Addin in C# Nicholas Paldino [.NET/C# MVP]
5/1/2007 10:45:04 AM
shantanu,

If you have already inserted a menu item into excel, then the rest
should be the same. Using the CommandBar objects, you should be able to add
sub-menus to your menus and so on, and so on.


--
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com

[quoted text, click to view]

AddThis Social Bookmark Button