SkywardPalm
Board Regular
- Joined
- Oct 23, 2021
- Messages
- 61
- Office Version
- 365
- Platform
- Windows
I have been trying to solve this for if a quantity cell is changed, but can't figure how to avoid if the cell was blank first. I only want to adjust the font color if the cell had a value in it prior to being changed.
VBA Code:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim QtyCell As Range
Set QtyCell = Cells(ActiveCell.Row, Range("Qty").Column)
If Target.Address = QtyCell.Address Then
'Check If QTY is Changed and adjust Font Color to Red
End If
End Sub