Kannst Du mir vieleicht sagen wie ich 2,3,4 oder mehr Zeilen in der Msgbox unterbringe?
Dim strFrage As String
strFrage = MsgBox("Zeile1", vbOKCancel + vbQuestion, "Blauer Balken")
If strFrage = vbCancel Then Exit Sub
Danke
strFrage = MsgBox("Zeile1" & vbLf & "Zeile2" & vbLf & "Zeile3", vbOKCancel + vbQuestion, " _
Blauer Balken")
Sub Hey()
Dim strFrage As String
strFrage = MsgBox("Zeile1" & vbLf & "Zeile2", vbOKCancel + vbQuestion, "Blauer Balken")
If strFrage = vbCancel Then Exit Sub
End Sub
Gruß Matthias