Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 131
Default disable a macro using a macro

how to disable a macro using a macro?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default disable a macro using a macro

If it's an event related macro, do this

Application.EnableEvents = False

HTH,
Barb Reinhardt

"Kashyap" wrote:

how to disable a macro using a macro?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default disable a macro using a macro

Kashya, just to add on ... please dont forget to set 'EnableEvents' to True
just before End Sub.

If this post helps click Yes
---------------
Jacob Skaria


"Barb Reinhardt" wrote:

If it's an event related macro, do this

Application.EnableEvents = False

HTH,
Barb Reinhardt

"Kashyap" wrote:

how to disable a macro using a macro?

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
Disable running of SelectionChange macro when in another macro? Tonso Excel Discussion (Misc queries) 6 March 21st 10 06:50 PM
Need to disable macro when there is no macro ! azoz Excel Worksheet Functions 1 December 20th 06 09:02 AM
disable user running macro from Tools Macro Steve Simons Excel Discussion (Misc queries) 4 September 28th 06 06:28 AM
how to disable a macro by calling it from another macro paritoshmehta[_9_] Excel Programming 1 May 6th 04 07:24 PM
Disable Macro at open by an external macro Ricardo[_2_] Excel Programming 0 November 10th 03 07:50 PM


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