This is the code I have so far, but cant figure out how to change the target range and not sure if it is recognising input into column 2 or 3!
Private Sub Worksheet_Change(ByVal Target As Range)
Dim i As Integer
Application.EnableEvents = False
For i = 1 To 2
'Check if active column is column A.
If Target.Column = 1 Then
If IsNumeric(Target.Value) And Target.Value > 0 Then
If IsNumeric(Target.Offset(0, 1).Value) And Target.Offset(0, 1).Value > 0 Then
If IsNumeric(Target.Offset(0, 2).Value) And Target.Offset(0, 2).Value > 0 Then
MsgBox ("All columns contain numbers and you typed in A?")
End If
End If
End If
'Set target reference to column 1 and loop
ElseIf Target.Column = 2 Or Target.Column = 3 Then
'Target.Range = Target.Offset(0, -1)
End If
Next i
Application.EnableEvents = True
End Sub
Thanks
Bookmarks