когда убираю "And Cells(p, 2) = "Р" " - работает, а когда есть нет. Вот:
Private Sub OKButton_Click()
Dim r As Variant
Dim k As Variant
Dim p As Variant
For r = 8 To 100
For k = r To 100
For p = k To 100
If А And АА And ААА And Cells(r, 2).Value = "О" And Cells(k, 2) = "ОО" And Cells(p, 2) = "Р" Then Cells(10, 3) = "АОАОАОА"
Exit For
Next p
Next k
Next r
Unload UserForm1
End Sub