Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Validation not triggering Change event in Excel XP

I've developed a workbook in Excel XP that exhibits a strange problem.
There are several cells which have data validation lists. However, only
some of the validated cells trigger the Worksheet_Change event. What's
even stranger is if I insert a breakpoint inside the Worksheet_Change event
and then change one of the validated problem cells, the event triggers and I
can step through my code.

There's a KB article about a similar issue
(http://support.microsoft.com/default...;en-us;172832), but it's
specifically about Excel 97. Can anyone from Microsoft see if this bug was
ever worked on? Based on my experience, I'd say it wasn't completely
resolved.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 225
Default Validation not triggering Change event in Excel XP

Hi Jeff,

Based on my research, this problem has been fixed from Excel 2000.
Can you provide a simple reproduce xls file together with the test code?
So that we can try to reproduce at our side.

You can reach me via removing "online" from my email address.
Thanks!

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Validation not triggering Change event in Excel XP

Thanks for sending me the test.xls file. It appears to work as you intended.

However, my workbook still does not work correctly. You pointed out that I
can set a breakpoint inside the subroutine that should be executing, and run
the code step-by-step. This is true, but that's the ONLY way the code will
execute. If you remove all breakpoints and trigger the change event
normally, the SetOptionsToParetoAlternative won't do what it's supposed to do.

Thanks,

Jeffrey

""Peter Huang" [MSFT]" wrote:

Hi Jeff,

Based on my research, this problem has been fixed from Excel 2000.
Can you provide a simple reproduce xls file together with the test code?
So that we can try to reproduce at our side.

You can reach me via removing "online" from my email address.
Thanks!

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 225
Default Validation not triggering Change event in Excel XP

Hi

It is strange, based on my test, even I put breakpoint and the
SetOptionsToParetoAlternative will run, but it seems that the cells is not
changed.
So I just wonder maybe the logic may not correct.
So far I think you may try to create a new workbook and add the code one
by one to see what code line may cause the problem.
Thanks!

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

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
Validation not triggering Change event in Excel XP Jeffrey[_8_] Excel Programming 1 March 8th 06 01:59 AM
Triggering an event based on reference Supriya Excel Programming 0 January 29th 04 11:50 AM
auto-filter change not triggering worksheet_change event mark Excel Programming 1 September 19th 03 03:01 PM
Triggering click event of a menu in vba steve Excel Programming 4 August 19th 03 06:17 PM
Triggering click event of a menu in vba Tom Ogilvy Excel Programming 0 August 18th 03 07:51 PM


All times are GMT +1. The time now is 09:26 PM.

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"