Sub Schaltfläche1_BeiKlick()
If A1 = B1 Then
MsgBox "Alles OK", vbInformation, "Hotline"
Else
MsgBox "Schlecht", vbInformation, "Hotline"
End If
End Sub
Leider kommt immer die Erste ASlles OK
Danke für Hilfe
Sub Schaltfläche1_BeiKlick()
If A1 = B1 Then
MsgBox "Alles OK", vbInformation, "Hotline"
Else
MsgBox "Schlecht", vbInformation, "Hotline"
End If
End Sub