Private Sub Worksheet_Change(ByVal Target As Excel.Range)
Application.EnableEvents = False
If Not Intersect(Target, Columns(9)) Is Nothing Then
If Not IsEmpty(Target) = True And Not UCase(Target.Offset(, 1)) = "X" Then
Target = IIf(MsgBox("Zorg dat de Traceability List aanwezig is voordat de eindafname plaatsvindt!", vbInformation, "Confirmatie") = vbYes, Target.Value, Target.Value)
End If
End If
If Not Intersect(Target, Columns(11)) Is Nothing Then
If Not IsEmpty(Target) And Not UCase(Target.Offset(, -1)) = "X" Then
Target = IIf(MsgBox("Is de Summary List gecontroleerd met de Traceability List?", vbInformation + vbYesNo, "Confirmatie") = vbYes, Target.Value, "")
If IsEmpty(Target) Then MsgBox ("De order kan niet eerder afgewerkt worden voordat de Summary List gecontroleerd is met de Traceability List.")
End If
End If
Application.EnableEvents = True
End Sub