I have set up some code so that when cells G3:I3 change a macro runs using the below code.
That will then run another sub, UpdateSchedule. When the update schedule macro runs, it changes cells and other things. The issue I have is that when anything on the sheet changes, it goes back to the above code and runs it again. It will always return false as the 'UpdateSchedule' macro never changes the cells G3:I3 but its does slow the program down significantly.
Any ideas of ways around this? Cheers.
VBA Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$G$3" Or Target.Address = "$H$3" Or Target.Address = "$I$3" Then
Call ScheduleModule.UpdateSchedule
End If
End Sub
That will then run another sub, UpdateSchedule. When the update schedule macro runs, it changes cells and other things. The issue I have is that when anything on the sheet changes, it goes back to the above code and runs it again. It will always return false as the 'UpdateSchedule' macro never changes the cells G3:I3 but its does slow the program down significantly.
Any ideas of ways around this? Cheers.