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

--~--~---------~--~----~------------~-------~--~----~
-------------------------------------------------------------------------------------
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