LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Worksheet_Change - loop within a loop

Yes, precede the code with

Application.EnableEvents = False

make sure that you set it back to true before exiting the event macro.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"bgm" wrote in message
...
Hi there,

I am using WorkSheet_change to ascertain whether data has changed on the

spreadsheet, and from there I check to see which cell it changed in. If it
changed in a certain cell then I change all the values in that column using
a For..Next loop. The only problem here is that it seems to trigger the
Worksheet_Change macro everytime it changes one cell and starts at the
beginning. Is there a way to surpress the Worksheet_Change trigger while
performing a function?

thanks in advance.



 
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
Find loop doesn't loop JSnow Excel Discussion (Misc queries) 2 June 24th 09 08:28 PM
For Each Loop jbjtc Excel Discussion (Misc queries) 8 September 20th 07 01:28 PM
How would I add a loop for this? [email protected] Excel Discussion (Misc queries) 3 September 18th 06 01:21 PM
HELP!!!! Can't stop a loop (NOT an infinite loop) TBA[_2_] Excel Programming 3 December 14th 03 03:33 PM
Help with a Loop please Kamal[_3_] Excel Programming 2 September 14th 03 12:30 AM


All times are GMT +1. The time now is 08:05 AM.

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

About Us

"It's about Microsoft Excel"