D drifter96 New member Local time Yesterday, 21:04 Joined Aug 30, 2021 Messages 13 Jun 29, 2022 #1 Hello, Is there a way to hardcode the From field when sending an email through VBA to Outlook? We are trying to have the Department name show up instead of the person sending the email. TIA
Hello, Is there a way to hardcode the From field when sending an email through VBA to Outlook? We are trying to have the Department name show up instead of the person sending the email. TIA
pbaldy Wino Moderator Staff member Local time Yesterday, 18:04 Joined Aug 30, 2003 Messages 36,267 Jun 29, 2022 #2 If you're using Outlook automation, this type of thing: MyMail.SentOnBehalfOfName = "AR@OurCompanyName.com"
If you're using Outlook automation, this type of thing: MyMail.SentOnBehalfOfName = "AR@OurCompanyName.com"
D drifter96 New member Local time Yesterday, 21:04 Joined Aug 30, 2021 Messages 13 Jun 29, 2022 #3 Thank you!
pbaldy Wino Moderator Staff member Local time Yesterday, 18:04 Joined Aug 30, 2003 Messages 36,267 Jun 29, 2022 #4 Happy to help! Note you may need to add delegate permissions for the account being used.