I want to run a macro when cell Y1= "OK" - however, I'm not sure where to add this into the code below to ensure both macro's run each race. When I have tried to put this into the code below (in between the End If and enable events = true it runs once and then the macro to skip to the next race never fires again.
Looking for some help if possible to be able to run 2 macro's without any confliction of one stopping the other other working again
- Code: Select all
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Columns.Count = 16 Then
Application.EnableEvents = False
If [A1] <> currentMarket Then marketSelected = False
currentMarket = [A1]
If [AB1] = "OK" And Not marketSelected Then
marketSelected = True
ThisWorkbook.Sheets("Race1").Select
[Q2] = -1
End If
Application.EnableEvents = True
End If
- Code: Select all
If [Y1] = "OK" Then
Call get_updates