+ Reply to Thread
Results 1 to 12 of 12

Macro interference

Hybrid View

  1. #1
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,082

    Re: Macro interference

    Specifically, if you have a Worksheet Change Event handler and that event handler makes changes on the sheet, you should bracket the change(s) with ApplicatiionEnableEvents = False and ApplicatiionEnableEvents = True.

    Similarly, if you have a Selection Change Event handler, and you select cell(s) within it, same rules.

    In the worst case, it can cause a loop. Best case, it will fire more often than it needs to.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  2. #2
    Forum Contributor
    Join Date
    09-12-2021
    Location
    Mexico
    MS-Off Ver
    Office 2019
    Posts
    169

    Re: Macro interference

    Thanks for the suggestion TMS I will try it out now. I appreciate your input.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Macro that AUTOMATICALLY activates another macro without human interference?
    By Mangorni in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-06-2017, 01:18 PM
  2. [SOLVED] Macro that AUTOMATICALLY activates another macro without human interference? HELP
    By Mangorni in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 10-24-2016, 09:23 AM
  3. Personal Macro Workbook interference with other workbook macro(s)
    By Xanlithe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-10-2015, 09:41 AM
  4. Replies: 1
    Last Post: 10-10-2015, 01:00 AM
  5. Interference between Macros?
    By RDS in forum Excel General
    Replies: 1
    Last Post: 02-20-2012, 06:00 AM
  6. Interference between 2 ComboBox
    By Magic_Doctor in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-20-2011, 03:38 PM
  7. [SOLVED] dragging without interference
    By BorisS in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-20-2005, 04:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1