B
Bhuktar S
I have put the following in excel sheet code
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Range("B2") > 20 Then
Range("B2").Interior.ColorIndex = 4
Else: Range("B2").Interior.ColorIndex = 2
End If
End Sub
If I edit any cell, I cannot undo, since the undo button on the men
bar becomes inactive.
How to overcome this
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Range("B2") > 20 Then
Range("B2").Interior.ColorIndex = 4
Else: Range("B2").Interior.ColorIndex = 2
End If
End Sub
If I edit any cell, I cannot undo, since the undo button on the men
bar becomes inactive.
How to overcome this