Hallo,
habe in der Hilfe (F1) in VBA Outlook zu der Methode ResolveAll u.a. folgendes Beispiel gefunden:
Set myOlApp = CreateObject(\“Outlook.Application\“)
Set myItem = myOlApp.CreateItem(olMailItem)
Set myRecipients = myItem.Recipients
myRecipients.Add(\“Aaron Con\“)
myRecipients.Add(\“Viki Parrott\“)
myRecipients.Add(\“Jeffrey Weems\“)
If Not myRecipients.ResolveAll Then
For Each myRecipient In myRecipients
If Not myRecipient.Resolved Then
MsgBox myRecipient.Name
End If
Next
End If
Könnte mir jemannd mal sagen, wie ich an myRecipient kommen soll. Wie definiert man dies?
Dim myRecipient as ???
Set myRecipient=????
Danke für alle Tipps im Voraus.
mfg
BenC