View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jim Thomlinson[_3_] Jim Thomlinson[_3_] is offline
external usenet poster
 
Posts: 983
Default Alias FROM: when sending mail in Excel

Try item.SentOnBehalfOfName

"Tod" wrote:

The user wants to send a portion of the worksheet as the
body of an email. I found this code that does just that:

ActiveSheet.Range("A1:K71").Select
ActiveWorkbook.EnvelopeVisible = True
With ActiveSheet.MailEnvelope
.Item.To = AddressList
.Item.Subject = "Test Subject"
.Item.Send
End With

Great. But, the email shows the user's Exchange account
name in the FROM: field. They want an alias name to show.
Does someone know how I can choose what to display in the
FROM: field of the email message?

tod