Irgendwie kriege ich es nicht gebacken aus Excel Outlook Events abzufragen.
Beispiel in Excel VBA:
Code
Public Sub Mail()
Dim outApp As Object
Dim outMail As Object
Set outApp = CreateObject("Outlook.Application")
Set outMail = outApp.CreateItem(0)
On Error Resume Next
With outMail
.To = ""
.CC = ""
.BCC = ""
.Subject = "VBA Test"
.BodyFormat = olFormatHTML
.HTMLBody = "Blah Blah Blah"
.Display True
End With
On Error GoTo 0
Set outMail = Nothing
Set outApp = Nothing
End Sub
Alles anzeigen
Wie kann ich jetzt abfragen, ob der "Send" Button gedrückt wurde?
Irgendwie finde ich nichts, was in Excel läuft.
Hat jemand eine Idee?
Ich benutze Office 2013.
Danke.