Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 220
Default Application level events no longer execute

I have instituted a class module the way Chip Pearson suggests in order
to trap application level events. This works up until I run a macro
that breaks in the middle. After I break, nothing short of quitting
Excel will allow the class module (which is declared and run from an
add-in and is not the file in which a function broke) to resume
processing application level events. Not even setting the custom class
to nothing and then re-creating it works.

Ideally, I would like breaking a macro during execution to not affect
the objects in other files. However, if this is not possible, I would
at least like some way that is faster than restarting Excel to be able
to start re-consuming application level events. Any help would be most
appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Application level events no longer execute

Not tested, but try:

Set App = Application

from the Immediate Window.

--

Vasant

"R Avery" wrote in message
...
I have instituted a class module the way Chip Pearson suggests in order
to trap application level events. This works up until I run a macro
that breaks in the middle. After I break, nothing short of quitting
Excel will allow the class module (which is declared and run from an
add-in and is not the file in which a function broke) to resume
processing application level events. Not even setting the custom class
to nothing and then re-creating it works.

Ideally, I would like breaking a macro during execution to not affect
the objects in other files. However, if this is not possible, I would
at least like some way that is faster than restarting Excel to be able
to start re-consuming application level events. Any help would be most
appreciated.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to raise the Macro security level in a product I can't execute vfstevenson Excel Discussion (Misc queries) 0 September 15th 05 09:48 PM
Using Application Events Thomas Herr Excel Programming 2 April 5th 04 09:24 PM
tried to execute application from VBA Domagoj Vulin[_2_] Excel Programming 0 July 23rd 03 09:58 PM
tried to execute application from VBA Tom Ogilvy Excel Programming 1 July 23rd 03 09:56 PM
tried to execute application from VBA Bill Lunney Excel Programming 0 July 23rd 03 02:05 PM


All times are GMT +1. The time now is 02:39 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"