можна ли сделать чтобы в этом макросе при нажатии кнопки "No" прграма делала exit sub
Sub mac2()
Dim Info As Variant
Dim r As Variant
Do Until Info <> ""
Info = InputBox("hand made")
Loop
For r = 7 To 1000
If ActiveSheet.Cells(r, 2) = "" Then
Exit For
Else
If ActiveSheet.Cells(r, 2) <> Info Then
Rows(r).Delete
r = r - 1
End If
End If
Next r
End Sub