PC Review


Reply
Thread Tools Rate Thread

custom menu disappears when I File, Exit, Cancel

 
 
=?Utf-8?B?U21hbGx3ZWVk?=
Guest
Posts: n/a
 
      14th Nov 2007
I have a couple of custom add-ins with functionality run from custom menu
options on the main menu (next to File, Edit, View, etc).

Found a strange bug: when I have a dirty file, click on File, Exit and then
Cancel, the custom menus disappear. The add-ins are still ticked in Tools,
Add-ins so it's just the menu that's gone.

Any ideas how to stop this?
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmltIFRob21saW5zb24=?=
Guest
Posts: n/a
 
      14th Nov 2007
I have used the AddinInstall and AddinUnistall events to create and destroy
the toolbars. That avoids the problem you describe.
--
HTH...

Jim Thomlinson


"Smallweed" wrote:

> I've realised it's my auto_close macro (which deletes the menu each time).
> This runs even if you then cancel exiting. Is there a better event I could
> use?
>
> "Smallweed" wrote:
>
> > I have a couple of custom add-ins with functionality run from custom menu
> > options on the main menu (next to File, Edit, View, etc).
> >
> > Found a strange bug: when I have a dirty file, click on File, Exit and then
> > Cancel, the custom menus disappear. The add-ins are still ticked in Tools,
> > Add-ins so it's just the menu that's gone.
> >
> > Any ideas how to stop this?

 
Reply With Quote
 
=?Utf-8?B?U21hbGx3ZWVk?=
Guest
Posts: n/a
 
      14th Nov 2007
very good idea - thanks

"Jim Thomlinson" wrote:

> I have used the AddinInstall and AddinUnistall events to create and destroy
> the toolbars. That avoids the problem you describe.
> --
> HTH...
>
> Jim Thomlinson
>
>
> "Smallweed" wrote:
>
> > I've realised it's my auto_close macro (which deletes the menu each time).
> > This runs even if you then cancel exiting. Is there a better event I could
> > use?
> >
> > "Smallweed" wrote:
> >
> > > I have a couple of custom add-ins with functionality run from custom menu
> > > options on the main menu (next to File, Edit, View, etc).
> > >
> > > Found a strange bug: when I have a dirty file, click on File, Exit and then
> > > Cancel, the custom menus disappear. The add-ins are still ticked in Tools,
> > > Add-ins so it's just the menu that's gone.
> > >
> > > Any ideas how to stop this?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: custom menu disappears when I File, Exit, Cancel =?Utf-8?B?U21hbGx3ZWVk?= Microsoft Excel Programming 0 14th Nov 2007 03:42 PM
Custom menu disappears Fredrik E. Nilsen Microsoft Excel Programming 8 13th Feb 2007 12:07 AM
Can only exit the program from the file menu =?Utf-8?B?Q2h1Y2sgQm93c2Vy?= Microsoft Excel Misc 1 11th Apr 2006 03:08 PM
How to restore a Custom menu if a user presses Cancel after selcting exit Alseikhan Microsoft Excel Programming 4 4th Apr 2006 06:23 AM
custom animation exit menu =?Utf-8?B?SmFiZXo=?= Microsoft Powerpoint 4 4th Apr 2005 10:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:30 AM.