ReDim sAdresses(0) For i = 0 To .MsgCount - 1 .MsgIndex = i sAdresses(UBound(sAdresses)) = .MsgOrigAddress ReDim Preserve sAdresses(UBound(sAdresses) + 1) Next i ReDim Preserve sAdresses(UBound(sAdresses) - 1)
.MsgIndex = -1 .AddressResolveUI = False For i = 0 To UBound(sAdresses) .Compose .RecipAddress = sAdresses(i) .ResolveName MsgBox .RecipDisplayName Next i