Av8tordude
Well-known Member
- Joined
- Oct 13, 2007
- Messages
- 1,038
I have the code below that multiplies the number entered in row 42 by 3.65 (starting from column B). I would like the code to be able to do the same for each cell that I'm currently targeted in row 42. It should not multiply the entire row 42. Only the targeted cell in row 42
Code:
If Intersect(Target, Range("B42:IV42")) Is Nothing Then Application.EnableEvents = True: Exit Sub
If Target.Offset(0, -1) = "IBQ Credit Card" Then
Target.Value = Round(Target.Value * 3.65, 2)
End If