I've been using this Visual Basic code to run a macro when a value is entered into cell B1:
![]()
Private Sub Worksheet_Change(ByVal Target As Range) If Not Intersect(Target, Range("B1")) Is Nothing Then *MACRO HERE* End If End Sub
How would I change it so that the macro only runs when the value in cell B1 is greater than the value cell A1?
Thank you!![]()
Bookmarks