Possible Solution?
Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
Build
If Target.Column = 3 And Target.Row > Distance Then
item = Cells(Target.Row, 3)
If item = vbNullString Then
Cells(Target.Row, 1).Resize(1, 67).Clear
Exit Sub
End If
If IsError(Application.Match(item, PTests, 0)) Then
MsgBox "Please Insert Valid PTest"
Cells(Target.Row, 3) = vbNullString
Else: x = WorksheetFunction.Match(item, PTests, 0)
Cells(Target.Row, 2) = Date + Time
Cells(Target.Row, 1) = Target.Row - 6
Cells(Target.Row, 3).Font.Color = 16711680
Cells(Target.Row, 1).Resize(1, 2).HorizontalAlignment = xlCenter
Cells(Target.Row, 6) = PTestsAdmin(x)
End If
End If
TestsTaken = Sheet3.Cells(Distance, 1).End(xlDown)
Build
Application.EnableEvents = True
End Sub
Bookmarks