View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jacek Jacek is offline
external usenet poster
 
Posts: 1
Default Calling from C#.Net App Office._CommandBarButton.Execute() method in Excel 2003 throws a COMException

Hi All!

Currently I host Workbook in WebBrowser control which runs within AXHost
placed on Windows.Form.
When any method of CommandBarButton is called I got a COMException. It does
not matter if the Main Menu
instance or toolbar instance method is called, item is alweys checked to be
Enabled and furthemore for both MsoControlOLEUsage
Server and Client the behaviour is the same.

Any ideas for solution?

Jacek