What's it actually doing? Might be easier ways to acheive it.
If it's because it can't complete two actions within the same refresh just have Race1() set a flag to say Race(2) runs on the next refresh.
Sub Race1()
With ThisWorkbook
.Sheets("Data").Range("Q2").Value = .Sheets("Data_QuickPickList").Range("N1").Value
.Sheets("Data").Range("AA1").Value = "Run macro race 2"
End With
End Sub
Then within you main code, before the code that fires macro Race(1), something simple like
- Code: Select all
If .Sheets("Data").Range("AA1").Value = "Run macro race 2" Then Call Race2()
- Code: Select all
Sub Race2()
With ThisWorkbook
.Sheets("Data").Range("Q51").Value = .Sheets("Data_QuickPickList").Range("O1").Value
.Sheets("Data").Range("AA1").Value = "" 'Just to reset the flag
End With
End Sub