Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default stop worksheet code

Hi,

Sub your_Other_sub()

application.enableevents=false
'do things
application.enableevents=true

end sub

Mike

"sunilpatel" wrote:

Private Sub Worksheet_Change(ByVal Target As Range)

code....

End Sub

Is there a way of disabling above code temporarly, e.g when a particular sub
is active



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
Code to stop a Macro Nikki Excel Programming 9 January 2nd 09 08:13 PM
need breakpoint to stop code Souris Excel Programming 1 February 22nd 08 07:00 PM
Stop Save as code [email protected] Excel Programming 3 January 2nd 08 01:50 AM
Stop Code achidsey Excel Programming 2 January 1st 06 10:55 PM
stop running code lou sanderson Excel Programming 0 November 29th 05 07:21 PM


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