I can't see why this shouldn't work, it'shard to check without the full code or an example workbook
If Selection.Cells(x, 14) <> "A" And Selection.Cells(x, 14) <> "B" And _
Selection.Cells(x, 14) <> "C" And Selection.Cells(x, 14) <> "D" And _
Selection.Cells(x, 14) <> "L" And Selection.Cells(x, 14) <> "N" And _
Selection.Cells(x, 14) <> "S" And Selection.Cells(x, 14) <> "T" Then
MsgBox "Type is False! You have to change it! " & "Place: Selected Row: " & x & " Column: 14 (N)"
Selection.Cells(x, 14).Interior.ColorIndex = 3
GoTo Einde
End If
Bookmarks