View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default VSTO 2003 Excel Command Bars

Did you create it as temporary?

from the article, it might be:

Me.MenuBarItem = Me.MainMenuBar.Controls.Add( _
Office.MsoControlType.msoControlPopup, Temporary:=True)


--
Regards,
Tom Ogilvy


"BIZI" wrote in message
...
Hi!
in my application, I want to execute my managed code with a click on a
toolbar botton. I created my own custom command bar (like it is shown on
MSDN, the articel is from Brian A. Randall)
If I start the application from VS it works fine: I can see my own menu

bar!
If I start directly the Excel- sheet, I can see for a short time my menu-
bar, then it is away.
What can i do to fix this problem?

thanks in advance
Bizi