Einführung "VBA mit Microsoft Office"

Code Snippet "VBA allgemein"

Dialogbox mit Kombinationen von Buttons und Anzeigeoptionen

Sub procDialogfensterMitButtons()
  Dim intAntwort
  intAntwort = MsgBox("Wollen Sie weiterfahren?", _
    vbYesNoCancel + vbExclamation + vbDefaultButton2)
End Sub