CommandBarButton click event does not fire
- From: "Chris" <chris01@xxxxxxxxxxxxxxxxx>
- Date: Wed, 17 Jan 2007 17:52:38 -0500
I have added a button to the standard commandbar.
I added a click event:
cbbChefsChats.Click += new
Office._CommandBarButtonEvents_ClickEventHandler(cbbChefsChats_Click);
When I click my button, nothing happens.
If I call the click method directly from code the messagebox shows
public void cbbChefsChats_Click(Office.CommandBarButton ctrl, ref bool
cancelDefault)
{
MessageBox.Show("clicked chefschats button");
}
Anyone know why this does not work?
TIA,
Chris
.
- Follow-Ups:
- RE: CommandBarButton click event does not fire
- From: Wei Lu [MSFT]
- RE: CommandBarButton click event does not fire
- Prev by Date: Slow Excel Start Up After Installing Add-In
- Next by Date: Re: Visual Studio Installer 1.1 with COM Add-in?
- Previous by thread: Slow Excel Start Up After Installing Add-In
- Next by thread: RE: CommandBarButton click event does not fire
- Index(es):
Loading