Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 85
Default Crash Using Watch Window XL2000

All,
Had a very curious event occur today.

Selected Worksheet_Change event macro on a sheet and put
breakoint on its title line.

Added a Watch expression for Application.EnableEvents, All
procedures, All modules.

Made a change on the sheet (using a cell with Validation).

Result:
EXCEL VANISHED! No errors, no warning, nothing.
I am not dreaming - this is repeatable!

Have done a Google serach and a MS KB search with no hits.
Any thoughts from the MVP community?
(besides of course, DON'T DO THAT!)

Thanks for you help,
Bewildered (Alex J)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 85
Default CORRECTION: Crash Using Watch Window XL2000

Note:
More Testing indicates that the problem ocurs without the
watch in place - some confilict between validation and the
breakpoint on the event processing code?
Alex J

-----Original Message-----
All,
Had a very curious event occur today.

Selected Worksheet_Change event macro on a sheet and put
breakoint on its title line.

Added a Watch expression for Application.EnableEvents,

All
procedures, All modules.

Made a change on the sheet (using a cell with Validation).

Result:
EXCEL VANISHED! No errors, no warning, nothing.
I am not dreaming - this is repeatable!

Have done a Google serach and a MS KB search with no hits.
Any thoughts from the MVP community?
(besides of course, DON'T DO THAT!)

Thanks for you help,
Bewildered (Alex J)
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 599
Default CORRECTION: Crash Using Watch Window XL2000

Alex

I couldn't reproduce it. XL2000 on Win98SE, data validation with list in
A1, change event with breakpoint on Sub line and one line below for a
message box.

Result is that the VBE is opened and in debug mode on the breakpoint.

--
Dick Kusleika
MVP - Excel
www.dicks-clicks.com
Post all replies to the newsgroup.

"aLEX j" wrote in message
...
Note:
More Testing indicates that the problem ocurs without the
watch in place - some confilict between validation and the
breakpoint on the event processing code?
Alex J

-----Original Message-----
All,
Had a very curious event occur today.

Selected Worksheet_Change event macro on a sheet and put
breakoint on its title line.

Added a Watch expression for Application.EnableEvents,

All
procedures, All modules.

Made a change on the sheet (using a cell with Validation).

Result:
EXCEL VANISHED! No errors, no warning, nothing.
I am not dreaming - this is repeatable!

Have done a Google serach and a MS KB search with no hits.
Any thoughts from the MVP community?
(besides of course, DON'T DO THAT!)

Thanks for you help,
Bewildered (Alex J)
.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 85
Default CORRECTION: Crash Using Watch Window XL2000

Dick,

Found the cause and worked around it. Has to do with a dynamic range
(calculated with a VBA function using application.volatile) being declared
as a range variable in the Worksheet_Change function. There is some error in
the function which causes the crash.

Since the problem has nothing to do with the title of the thread, I will
stop this thread and start another with more accurate information for the
group.

I must say, though, I have never seen XL2000 go completely t-ts up and
dissapear like this before. I must have hit the motherlode of critical
errors.

Thanks a lot for your response,

Alex J


"Dick Kusleika" wrote in message
...
Alex

I couldn't reproduce it. XL2000 on Win98SE, data validation with list in
A1, change event with breakpoint on Sub line and one line below for a
message box.

Result is that the VBE is opened and in debug mode on the breakpoint.

--
Dick Kusleika
MVP - Excel
www.dicks-clicks.com
Post all replies to the newsgroup.

"aLEX j" wrote in message
...
Note:
More Testing indicates that the problem ocurs without the
watch in place - some confilict between validation and the
breakpoint on the event processing code?
Alex J

-----Original Message-----
All,
Had a very curious event occur today.

Selected Worksheet_Change event macro on a sheet and put
breakoint on its title line.

Added a Watch expression for Application.EnableEvents,

All
procedures, All modules.

Made a change on the sheet (using a cell with Validation).

Result:
EXCEL VANISHED! No errors, no warning, nothing.
I am not dreaming - this is repeatable!

Have done a Google serach and a MS KB search with no hits.
Any thoughts from the MVP community?
(besides of course, DON'T DO THAT!)

Thanks for you help,
Bewildered (Alex J)
.





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
Watch Window Guilherme Excel Worksheet Functions 0 April 20th 09 02:12 PM
Watch Window Guilherme Excel Discussion (Misc queries) 0 April 20th 09 10:57 AM
Watch Window not working in 2007 campingshadow Setting up and Configuration of Excel 0 August 12th 08 05:16 PM
VBA Watch Window Adam1 Chicago Excel Discussion (Misc queries) 0 February 24th 05 08:37 PM
XL97 watch window hangs Wild Bill[_2_] Excel Programming 0 August 19th 03 08:08 AM


All times are GMT +1. The time now is 10:59 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"