MsgBox mehrzeilig

Wie erstelle ich einen mehrzeiligen Text in einer MsgBox?

mit & _ klappt es zwar (fast), aber ich möchte es wohl geordnet und nicht fortlaufend…

Hallo Euphresia,

das geht mit vbCrLf:

MsgBox "hallo" & vbCrLf & "Welt"

Gruß, Andreas

Wie erstelle ich einen mehrzeiligen Text in einer MsgBox?

Danke… hat super geklappt.

Ugh.

VBCrLf oder VBNewLine oder Chr$(10)&Chr$(13) - ist alles dasselbe.

Aga,
CBB

VBCrLf oder VBNewLine oder Chr$(10)&Chr$(13) - ist alles
dasselbe.

Hallo CBB,

nicht ganz das Gleiche.

vbCr Chr(13)
vbLf Chr(10)
vbNewLine Chr(13)
VBCrLf Chr(13)&Chr(10)

Gruß
Reionhard