AW: Ja Martin, dass ist mir bekannt ...
11.11.2016 20:09:02
Dieter(Drummer)
... ich wollte aber mal eine andere Variante ausprobieren, nämlich mit den Nummern. Man kann ja die Nummern 0 bis 5 für die Msgboxen nutzen. So werden entsprechend der Nummern die jeweiligen Buttons erstellt. Es interessierte mich halt.
Hier mal mögliche Varianten:
Sub MsgBox0()
MsgBox "MsgBox: Button OK", 0, "Info"
End Sub
Sub MsgBox1() 'Mit Info Zeichen "64"
MsgBox "MsgBox: Buttons OK + Abbrechen", 1 + 64, "Info"
End Sub
Sub MsgBox2()
MsgBox "MsgBox: Buttons Abbrechen + Wiederholen + Ignorieren", 2, "Info"
End Sub
Sub MsgBox3()
MsgBox "MsgBox: Buttons Ja + Nein + Abbrechen", 3, "Info"
End Sub
Sub MsgBox4()
MsgBox "MsgBox: Buttons Ja + Nein", 4, "Info"
End Sub
Sub MsgBox5()
MsgBox "MsgBox: Buttons Wiederholen + Abbrechen", 5, "Info"
End Sub
Gruß und einen erfreulichen Abend,
Dieter(Drummer)