Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Change event

Hiya,

I have a change event macros in a worksheet.
However when I run another macro the event macro gets
triggered, is there any way to turn off the event macro
from this new macro? So anytime I run this macro the event
macro doesn't run, but when the new macro finishes the
even macro turns back on.



Regards

SD
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 292
Default Change event

Hi SD

Application.EnableEvents = False
'code
Application.EnableEvents = True

If your code errs before resetting it, events are disabled. So make sure you
have an error handler to deal with this.

HTH. best wishes Harald

"Siemen Deol" skrev i melding
...
Hiya,

I have a change event macros in a worksheet.
However when I run another macro the event macro gets
triggered, is there any way to turn off the event macro
from this new macro? So anytime I run this macro the event
macro doesn't run, but when the new macro finishes the
even macro turns back on.



Regards

SD



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
Change event? Mike Rogers Excel Discussion (Misc queries) 2 January 5th 06 01:46 AM
Change Cell from Validated List Not Firing Worksheet Change Event [email protected] Excel Programming 3 October 4th 04 03:00 AM
Chart Values that change based on Change event ExcelMonkey[_119_] Excel Programming 1 May 15th 04 03:43 AM
Change minimumscale with the change event of a combobox Herbert Chan Excel Programming 1 April 11th 04 12:43 PM
change event/after update event?? scrabtree23[_2_] Excel Programming 1 October 20th 03 07:09 PM


All times are GMT +1. The time now is 04:16 PM.

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"