Hi Vincent,
Try disabling the calculate thingy

Application.Calculation = xlManual
Look for change in $A$1
Application.Calculation = xlAutomatic

Regards - Dave.

> Date: Fri, 29 May 2009 06:33:36 -0700
> Subject: $$Excel-Macros$$ cells change triger macro problem
> From: vincent2...@gmail.com
> To: excel-macros@googlegroups.com
> 
> 
> Hi Dear all,
> 
>    Now comes to the tricky part :)
> 
>   It is easy to use worksheet_change event to triger a macro when only
> one  cell in the sheet changes at a time. we can use
> 
> private worksheet_change(byval target as range )
>    If Target.address=$a$1 then
>    application.enableEvents=false
>     'your functional code
>   application.enableEvents=true
>   end if
> end sub
> 
>   However, my sheet has 500 cells updating every second.... When i run
> the sheet, it can't work as it s supposed to .  Since my sheet has so
> many changes in 1 second, it simply has no time to do the if check.
> Even I put Application.enableEvents=false there to disable events.
> 
>   I only need to monitor one cell change.
> 
>   Do you guess have any ideas ? Something like register a handler on a
> certain cell,"cell_change" instead of worksheet_change? It is easy to
> do in Jave or C# language.
> 
> thansk
> 
> Vincent
> 
> > 

_________________________________________________________________
Looking to change your car this year? Find car news, reviews and more
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2Fai%5F859641&_t=762955845&_r=tig_OCT07&_m=EXT
--~--~---------~--~----~------------~-------~--~----~
-------------------------------------------------------------------------------------
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com
-------------------------------------------------------------------------------------
-~----------~----~----~----~------~----~------~--~---

Reply via email to