Re: Got it!

From: Siew Moi Khor [MS] (smkhor_at_online.microsoft.com)
Date: 07/23/04


Date: Thu, 22 Jul 2004 22:07:10 -0700

Good to hear ;-)

Siew Moi

---
This posting is provided 'AS IS' with no warranties, and confers no rights.
Sample code subject to http://www.microsoft.com/info/cpyright.htm
"Peter" <Peter@discussions.microsoft.com> wrote in message
news:53A652BE-F171-4129-AC5D-FE37EF072BED@microsoft.com...
> Siew,
>
> I re-read your suggestion and references and found that I still had local
CommandBarButton defined.  When I made the variable a class member it took
care of the problem.  Puzzle solved!
>
> Thanks again.
> Peter
>
> "Siew Moi Khor [MS]" wrote:
>
> > Could be a problem with scoping.  See:
> >
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=%235%23wuXaBEHA.1964%40TK2MSFTNGP11.phx.gbl
> > http://blogs.msdn.com/bowerm/archive/2004/06/22/162304.aspx
> >
> > Siew Moi
> > ---
> > This posting is provided 'AS IS' with no warranties, and confers no
rights.
> > Sample code subject to http://www.microsoft.com/info/cpyright.htm
> >
> >
> > "Peter" <Peter@discussions.microsoft.com> wrote in message
> > news:8D48104E-FDF2-4EEE-80F5-980632EA4921@microsoft.com...
> > > Hello,
> > >
> > > Thanks for reviewing my question.  I am puzzled on why my add-in will
only
> > works once.  I create a menu with a couple of menu items in Excel.  One
of
> > the menu items display a dialog which works fine the first time.  Select
the
> > same menu item again or any of the other menu item for that matter and
> > nothing happens.  It seems as if Excel is ignoring my add-in.  The
dialog is
> > so basic that I cannot imagine how its causing a problem.
> > >
> > > Any ideas or have you heard such a strange behavior?
> > >
> > > Many Thanks
> > > Peter
> >
> >
> >