Тёмный

Send Email from a Specific Account (in Outlook) | Excel VBA Macro 

greggowaffles
Подписаться 6 тыс.
Просмотров 15 тыс.
50% 1

Опубликовано:

 

22 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 33   
@reagan.dollesin
@reagan.dollesin 9 дней назад
Thank you for this, Gregg!
@Nova73113
@Nova73113 Год назад
Thank you thank you thank you! You just saved me a ton of time!
@greggowaffles
@greggowaffles Год назад
No problem at all! So glad to hear that! Thank you for watching!!
@skiff9
@skiff9 3 года назад
Thanks Gregg, this really helped me out a lot when automating e-Mails at work!
@greggowaffles
@greggowaffles 3 года назад
Glad to hear that!!!
@rhystempleman
@rhystempleman 8 месяцев назад
Dude thank you so much for this
@mikevanwieringen9883
@mikevanwieringen9883 Год назад
Thanks Greg, just what I needed :) Thanks for sharing
@greggowaffles
@greggowaffles Год назад
Glad to hear that! Thanks for watching!!
@andreigiura
@andreigiura 23 дня назад
hi, unfortunately that doesn't as it should. wenn you send the mail, the receiver sees the main mail outlook adress and after that it written "on behalf" ... your secondary mail adress. is there a fix for that as well?
@freezendog7
@freezendog7 Год назад
Thanks buddy, this just helped me, nice and clear instructions. 👍
@greggowaffles
@greggowaffles Год назад
Anytime!
@agatasiwak2499
@agatasiwak2499 Год назад
Thanks for the video! I have an issue though. I am trying to send emails from a shared mailbox that I have access/rights to but Outlook crashes when I generate the email. It works perfectly fine with me deleting the SentOnBehalfOfName :/ Are you able to advise please?
@leopoldoleonel
@leopoldoleonel 2 года назад
Excellent contribution, you really helped me with this code!!!
@greggowaffles
@greggowaffles 2 года назад
Glad to hear that!! Thanks!!
@jorgettesantos711
@jorgettesantos711 5 месяцев назад
Hi gregg, great video... is it possible to use the .SentOnBehalfOfMe function on Word mail merge?
@juanfernandez5436
@juanfernandez5436 Год назад
This is great, thank you!
@greggowaffles
@greggowaffles Год назад
Thanks for watching!
@babamy22
@babamy22 2 года назад
Thnx buddy.
@debayanroy1234
@debayanroy1234 2 года назад
I have managed to create the vba code. There are 1200 rows, however for each row, there is a prompt in outlook to allow/deny sending the mails each time, defeating the purpose of automation
@halhirst2624
@halhirst2624 Год назад
permission requirements. ... It helps if the default account in your outlook is the mail account you want to send it from. I've expierenced the same problem. Did you ever find a resolutuion to this?
@riteshblackbelt2336
@riteshblackbelt2336 2 года назад
Somwhow, even afterctrying all this, I am still struggling to send the emails from my group email configured to the same outlook as the personal. I am missing something, i am not sure what
@Moodle9x
@Moodle9x 2 года назад
When I send on be half another account, the sent item appears on my account. How can I solve this?
@brianhobbs8950
@brianhobbs8950 2 года назад
How can you exclude an outlook account from sending an email. The spreadsheet we have auto sends an email and saves the excel spreadsheet when you close it. It sends the emails to the bosses who then review the spreadsheet. However, when they close the spreadsheet, it sends another email to them. How can we remove their email addresses (outlook) from being able to send?
@eduardosavinon2870
@eduardosavinon2870 2 года назад
how can you create spaces or tabs between word and lines in the HTML body ?
@greggowaffles
@greggowaffles 2 года назад
I’ll make a video on that soon, but depending when on the scenario, you might need double quotes “”
@MrBumbum2812
@MrBumbum2812 3 года назад
Nice
@greggowaffles
@greggowaffles 3 года назад
Thanks!
@akexcelinstitute2866
@akexcelinstitute2866 3 года назад
Hi how to send automatically when we click on run. When I run getting an error as run time error 287
@greggowaffles
@greggowaffles 3 года назад
Hi. Whats your code look like?
@javierromerolopez9988
@javierromerolopez9988 3 года назад
Hi Gregg, fantastic videos!!! I´m new on VBA. I have been able to send 2 ranges to a email, one static and the another one dinamic as you can see in your code below I would like to add the option of send an email from a different address But it doesn´t work any recommendation Kind regards Set OutApp = CreateObject("Outlook.Application") Set OutMail = OutApp.CreateItem(0) Set rg1 = Sheets("BLABLABLA").Range(Cells(1, 1), Cells(1, 9)) Set rg2 = Selection str1 = "" & _ "Hola buenos días, BLABLABLABLA. str2 = "Saludos ,Javi" On Error Resume Next With OutMail .To = "" .CC = "" .BCC = "" .Subject = "BLABLABLA " .Display .HTMLBody = str1 & str2 & RangetoHTML(rg1) & RangetoHTML(rg2) & .HTMLBody End With On Error GoTo 0 Set OutMail = Nothing Set OutApp = Nothing End Sub
@greggowaffles
@greggowaffles 3 года назад
thanks! i go over that in this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ybrlERsUXMQ.html hope it helps!
@mail87suren
@mail87suren 2 года назад
From address is not getting changed, pls assist
Далее
Ребенок по калькуляции 😂
00:32
Просмотров 162 тыс.
Send Email (with Attachment) | Excel VBA Macro
8:55
Просмотров 60 тыс.