+ Reply to Thread
Results 1 to 12 of 12

Macro interference

Hybrid View

Programmernovice Macro interference 09-27-2021, 04:49 PM
WideBoyDixon Re: Macro interference 09-27-2021, 04:57 PM
Programmernovice Re: Macro interference 09-27-2021, 05:45 PM
Artik Re: Macro interference 09-27-2021, 09:15 PM
Programmernovice Re: Macro interference 09-28-2021, 11:18 AM
TMS Re: Macro interference 09-27-2021, 05:15 PM
Programmernovice Re: Macro interference 09-28-2021, 11:22 AM
TMS Re: Macro interference 09-27-2021, 05:50 PM
WideBoyDixon Re: Macro interference 09-27-2021, 05:58 PM
Programmernovice Re: Macro interference 09-28-2021, 11:16 AM
AliGW Re: Macro interference 09-28-2021, 11:19 AM
TMS Re: Macro interference 09-28-2021, 11:20 AM
  1. #1
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: Macro interference

    If your macros are running on timers then perhaps you should have a global variable that prevents two macros running at the same time. Like:

    Public MacroRunning As Boolean
    Then, at the start of each macro:
    If MacroRunning Then
        Do
            DoEvents
        Loop Until Not MacroRunning
    End If
    MacroRunning = True
    Then at the end of the macro:
    MacroRunning = False
    WBD
    Office 365 on Windows 11, looking for rep!

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

    Re: Macro interference

    Many thanks WBD. Some of my macros are, indeed, running on timers. I have added the code you suggested, hopefully that will correct the problem.

    I reatly appreciate your helping me out.

+ 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. 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