How To Automatically Send Customized Emails With Attachments Using Excel Macros

  Рет қаралды 75,391

Automation Made Easy

Automation Made Easy

Күн бұрын

Пікірлер: 139
@leroymentor9932
@leroymentor9932 Жыл бұрын
I'm so grateful for this video. It's going to save me a lot of time, thanks!
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
Glad it was helpful!
@davide740
@davide740 9 ай бұрын
Great video! What would the code be if we were to use simple macro code with no Microsoft Outlook 16.0 object library? I understand it would be more flexible as it can work on all computer without activating an additional library. thanks
@andrewbeal6443
@andrewbeal6443 Жыл бұрын
Thanks! Very well done. What is the code to delay the sending of the emails to a specific date/time?
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
You can set up a scheduller job in windows to have this macro execute at a specific time
@mehdibakhtiari300
@mehdibakhtiari300 4 ай бұрын
You made it really easy to understand!
@AutomationMadeEasy
@AutomationMadeEasy 4 ай бұрын
Thank you
@mehdibakhtiari300
@mehdibakhtiari300 4 ай бұрын
I have still problem with the attachments. My VBA deletes first the pervious emails then attaches the PDF to the new one. At the end an email remains with 10 attachments.@@AutomationMadeEasy
@darshilshah9755
@darshilshah9755 Жыл бұрын
This really helped alot. Need one more help though. I have access to multiple mailbox, this code sends mails from default email, however, i want to send mail from other id. Please let me know the line of code required.
@alyaalaksmigodwin1197
@alyaalaksmigodwin1197 2 ай бұрын
Thankyou so much! It helped me a lot
@kasragg2715
@kasragg2715 Жыл бұрын
It was so helpful, Would you please let me know how we can modify "Email Address" of Sender too? Thanks
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
for that you will need to have rights of the mailbox from whose email id you wish to send the emails
@ericndega
@ericndega Жыл бұрын
Great and amazing insights!
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
Glad you enjoyed it
@daffaburhan6675
@daffaburhan6675 Жыл бұрын
Great video! Can I setting to send that email automatically everyday at specific time?
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
you will have to use windows scheduller for the same
@deepali8939
@deepali8939 2 жыл бұрын
Hello, if i want to choose email id for TO: and CC: how to customize it?
@MyDearFriend
@MyDearFriend 8 ай бұрын
amazing video, is there a way to have it send emails based on an if statement. for example If a date is coming up?
@AutomationMadeEasy
@AutomationMadeEasy 8 ай бұрын
certainly it can be customized but it all depends on structure of data and conditions
@YaelShriki
@YaelShriki Жыл бұрын
Hi! Thank you so much for this video it will be such a huge time saver for me! I'm currently trying to get this set up but i get an error with the "attachments.add strfolder & "\" & strfile" line. When I run the code I get an error saying "the drive is not ready. Verify that the desk is in the drive and that the door is closed" Do you know how to amend this? Sincerely,
@YaelShriki
@YaelShriki Жыл бұрын
I've added the folder to my desktop and repasted the path into the folder line and i still get an error for the attachment line saying " file name or directory name is not valid."
@gaspumprepairservice7009
@gaspumprepairservice7009 10 ай бұрын
@@YaelShrikibe certain you’re specifying the correct drive letter and path -> “C:\DATA\REPORTS”, for example. Notice my example did not end with a backslash as the code provides one.
@shankaraellamula8463
@shankaraellamula8463 Жыл бұрын
Thank you very much...This was very informative and easy to understand.....😊
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
Glad it was helpful!
@shelbybennion4585
@shelbybennion4585 Жыл бұрын
This was soooo helpful. Thank you!
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
Glad it was helpful!
@xreeyJ
@xreeyJ Жыл бұрын
Hi sir, appreciate your video. Very helpful. However i have two questions which is 1. How to indicate company logo under signature? 2.How to indicate multiple email address?
@hongxiliu4282
@hongxiliu4282 Жыл бұрын
Hi there, I got the same problem.. when I insert multiple emails on Excel cell, it doesn't seem to be able to detect when the email is generated and i need to click them one by one. Have you found a way yet?
@selvan1264
@selvan1264 2 жыл бұрын
Thanks for the video. How to save the outlook email draft into local folder?
@j.dasilva4567
@j.dasilva4567 2 жыл бұрын
Very good. I was doing the same in a more complex way, ur way is so much better. Thanks for this. Could u please show how to add default signature? Thank u.
@AutomationMadeEasy
@AutomationMadeEasy 2 жыл бұрын
let me check and get back
@aznbspikey
@aznbspikey Жыл бұрын
@@AutomationMadeEasy did you find out?
@sandeshpadigela0
@sandeshpadigela0 Жыл бұрын
This is a really good trick, thanks for taking the time to share knowledge, I do have a question extent of this. 1) We have employee performance data with multiple details, 2) we get this data week basis 2) We select each employee's data from the validation list 3) We take this screenshot 4) Copy the screenshot in an email 5) Send that to employee - I see challenge to select 20 employees from data validation list and copying screenshot, is there any way we can work on this?
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
Well seems feasible but will need lots of customization.
@vorkpalur
@vorkpalur 7 ай бұрын
Hi, first of all, thank you very much for sharing this. I have a question, is it possible to do the same with Gmail account without Outlook?
@AutomationMadeEasy
@AutomationMadeEasy 7 ай бұрын
yes, refer below tutorial: kzbin.info/www/bejne/mWi2YWBprZ6bfNk
@亦涵张
@亦涵张 Жыл бұрын
Amazing contents! Can I please ask a further question? I want to reply on top of a specific email, reply it with customized content like what you did here, while still keeping the previous email thread… somehow I can’t keep both at the same time? Much appreciated if you could provide help on this! Thanks in advance
@saptarshidalal5765
@saptarshidalal5765 Жыл бұрын
This is really helpful. But how can I add an image in this email? could you advise on this please.
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
You can attach the image. Attachment example is explained in the tutorial.
@saptarshidalal5765
@saptarshidalal5765 Жыл бұрын
​@@AutomationMadeEasyI do not want to attach it. The image will be in the mail body
@wolfenstein6288
@wolfenstein6288 2 жыл бұрын
Excellent video , i want to know, i have to keep the default mail body which is pre set as signature on my outlook and rest of the things should be done via this excel and can we add more file name columns if i have to send 2 or 3 invoices on same ID
@samanthaworrall1918
@samanthaworrall1918 Жыл бұрын
Thank you so much!! This has saved me hours of work!! Is there a way to add my email signature also to send it from a joint or alternate email address?
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
Glad you found it helpful. Will try to find a solution for it. Dont have it right now
@vipulprajapati2797
@vipulprajapati2797 Жыл бұрын
Hello sir, Your VBA programming was outstanding. I have one query. suppose on the third row there is no attachments so how can i make programming for those client id only who has attachments and no mail sent for those who has no attachments?? I am waiting for your reply. Thank you
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
u can insert an if condition before the code which sends email. Syntax given below Assume filepath is at cell D20 filepath = ThisWorkbook.Sheets("SheetName").Range("D20").text if filepath "" then 'code to send email End if
@vipulprajapati2797
@vipulprajapati2797 Жыл бұрын
Thank you sir For your reply. I have One another question. I have applied this programming for sending multiple files to individual recipients and I was succeeded but when some persons doesn't have multiple files say only one file and other have more than one files then what should i do in programming. I have tried but didn't succeeded in this. I have been eagerly waiting for your reply@@AutomationMadeEasy
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
@@vipulprajapati2797 - Well it depends how your data is formatted. the sloution needs to be customized based on data. If you need consultation/training write into info@automationandagile.com
@janinehadia3036
@janinehadia3036 2 ай бұрын
How so send it from different email address for example if i am going to use the generic mailbox on behalf of my department?
@praneshkumarrathinasamy7740
@praneshkumarrathinasamy7740 Жыл бұрын
Amazing content. Thanks a lot
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
My pleasure!
@sanjeebmaharjan
@sanjeebmaharjan Жыл бұрын
Best, Thank you so much.
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
Welcome!
@EZEQUIELGOMEZHORVITZ
@EZEQUIELGOMEZHORVITZ Жыл бұрын
Could you provide a link to your blog with the code?
@test4629
@test4629 2 жыл бұрын
You are amazing my friend! Thanx allot
@AutomationMadeEasy
@AutomationMadeEasy 2 жыл бұрын
Glad it helped!
@SadamHussain-yx3uh
@SadamHussain-yx3uh 2 жыл бұрын
Thank you for your guidance. It's worked
@AutomationMadeEasy
@AutomationMadeEasy 2 жыл бұрын
Glad it helped
@antothomas7523
@antothomas7523 Жыл бұрын
This is very helpful. Can you also please share the code for sending these emails using outlook web application.
@himanshuarora14
@himanshuarora14 9 ай бұрын
I want to send follow up emails from the same email threads that they were send from last time, how can I do that?
@9r266
@9r266 Жыл бұрын
Sir you're great thanks
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
So nice of you
@archiedelarosa499
@archiedelarosa499 Жыл бұрын
This is amazing! Thank you!
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
thank u
@JLa-lw6pe
@JLa-lw6pe 5 ай бұрын
Can you send an excel spreadsheet using this code?
@bertongputik1015
@bertongputik1015 Жыл бұрын
Hello! appreciate your video, just asking why my result is only sent to top of receiver, not the same with your result sent to all receiver (6) and I have an error to whole line (With objEmail upto End With). please help me to resolve this problem. Thank you
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
need to see your code and spreadhseet to understand the error
@shubhamyadav-nd4zx
@shubhamyadav-nd4zx 2 жыл бұрын
Help me to make a VBA code to send 20 files. Just like you did it need to add up a little bit more. Let me give details a little bit. Each mail has a different attachment and mail body. Like if I am sending my 1st mail. I will open that excel file, go to a particular sheet, copy data, paste it to the email body, and attach that same file as an attachment. Once the mail is ready then that file gets closed. And then with 2nd mail and it will go on for 19 times.
@deepakbhatia8839
@deepakbhatia8839 9 ай бұрын
Just few questions about this is that i have written the code as per the video however mail is being sent repeatedly n number of times and in my data multiple records are tagged to one single client id request you to kindly how to send the one consolidated email basis the client id instead of sending multiple emails basis the number of rows
@AutomationMadeEasy
@AutomationMadeEasy 9 ай бұрын
need to see how your data is structured.
@deepakbhatia8839
@deepakbhatia8839 9 ай бұрын
@@AutomationMadeEasy please assist how can I share the data samples for your reference.
@AutomationMadeEasy
@AutomationMadeEasy 9 ай бұрын
for training/consultation write into info@automationandagile.com
@kristinwillers6723
@kristinwillers6723 2 жыл бұрын
Hello - I wish to add multiple attachments to the email send, up to 4. How would I identify the different columns and references to ensure the files are attached correctly? I did not see this option on your blog. Thank you,
@RadMoulk-ok3nn
@RadMoulk-ok3nn Жыл бұрын
how to send a message with images like in signature since excel does not accept images in sheets
@robydc56
@robydc56 2 жыл бұрын
Hello, great video, thanks. 1 question, please: if I want to set the Amount in blue color, how can I do? Thank you!
@AutomationMadeEasy
@AutomationMadeEasy 2 жыл бұрын
let me check
@Micomicooo-eo5ee
@Micomicooo-eo5ee 3 ай бұрын
Hi sir how can I make part of the text bold?
@dhirajsuryawanshi4510
@dhirajsuryawanshi4510 8 ай бұрын
Great video. Bro I want to create automation in excel to auto send Birthday wishes email. Could you please help me on this. I got the project
@AutomationMadeEasy
@AutomationMadeEasy 8 ай бұрын
for trainings/consultation write into info@automationandagile.com
@eltotsira1000
@eltotsira1000 9 ай бұрын
Hi, can you share the VBA code so I can copy paste. Thank you.
@pramodofindia
@pramodofindia 2 жыл бұрын
Can this be modified to work with Gmail? How? Thanks in advance.
@pramodofindia
@pramodofindia 2 жыл бұрын
Thanks, but the reason why I want to use Gmail is, that I don't have Outlook.
@123naimish
@123naimish 2 жыл бұрын
Hello Sir, Excellent tutorial it is perfectly working. I have query, if I need to add my outlook signature in email, then how the code will work?
@AutomationMadeEasy
@AutomationMadeEasy 2 жыл бұрын
Let me check
@bhumapoojithreddy6737
@bhumapoojithreddy6737 10 ай бұрын
I have two mails in my outlook one is personal and business so when I click send email button it goes from personal mail so can you please me to change my sender email address
@AutomationMadeEasy
@AutomationMadeEasy 10 ай бұрын
try adding below line of code just befor .send .SentOnBehalfOfName = "Email ID" Replace email id with actual email id with which you wish to send the emails
@michaellawrence6009
@michaellawrence6009 Жыл бұрын
Is there away to add CC's
@emilvincentgomez8977
@emilvincentgomez8977 2 жыл бұрын
Hello. Useful presentation. I have a query. When i am entering the data which has alphabets, numbers and special characters it is popping error. Please help me.
@AutomationMadeEasy
@AutomationMadeEasy 2 жыл бұрын
whats the error?
@haridx05
@haridx05 2 жыл бұрын
How to add cc and Bcc.can you plz add that
@randomrandy3059
@randomrandy3059 Жыл бұрын
I have a mac, and been on mac because of my pro audio interest... Mac is not so Microsoft friendly. Alot of the features that could make my system more efficient are on Windows! I have to DL ODBC Drivers to connect to the SQL MicrosoftServer to be able to do this. And thats where I get stuck. Im on a mission. Any Mac users out there trying to accomplish this task?
@rasikajadhav2746
@rasikajadhav2746 Жыл бұрын
Same can we used in mac???
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
not sure about mac.
@reynandtrinidad4228
@reynandtrinidad4228 2 жыл бұрын
Sir, how about email will not be sent (pop up as new email) & can still be updated manually to add tables & pictures? Thanks in advance
@himanshudaksh6796
@himanshudaksh6796 2 жыл бұрын
Hello Sir, can we do this with the recording feature in Macro?
@AutomationMadeEasy
@AutomationMadeEasy 2 жыл бұрын
no
@josephkelly4310
@josephkelly4310 Жыл бұрын
Can I do this on Mac?
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
not sure if mac supports vba
@nagakishorel1368
@nagakishorel1368 8 ай бұрын
If 'To' email Id cell is blank then Email shouldn't go what code we need to enter ?
@ರಘುನಾಥ್ಕೆ
@ರಘುನಾಥ್ಕೆ Жыл бұрын
Sir name part is not working its coming ws how to make it to auto fetch correct name from Customer Name coloum Please guide
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
check spelling, it will work the same way as other fields
@ರಘುನಾಥ್ಕೆ
@ರಘುನಾಥ್ಕೆ Жыл бұрын
Thank you sir 🙏 It's working
@sunnykunche
@sunnykunche 2 жыл бұрын
I created new file, when i click send message is coming as Done but email is not going out of Outlook, i enabled Microsoft Outlook object library but still it is not running in outlook
@AutomationMadeEasy
@AutomationMadeEasy 2 жыл бұрын
any error message?
@sunnykunche
@sunnykunche 2 жыл бұрын
@@AutomationMadeEasy No error message sir getting message as email sent but emails not going from outlook
@SanviPatil2019
@SanviPatil2019 2 жыл бұрын
superb.. sir how we can send pay slip without outlook via. SMTP
@JLa-lw6pe
@JLa-lw6pe 5 ай бұрын
Keep getting an error message when trying to attach file using this code above it is not reading the drive the file is in.......I am trying to attach an excel file, the file path is correct but keep getting an saying "Cannot find file. Verify the path and file name are correct". How do I fix this?
@AutomationMadeEasy
@AutomationMadeEasy 5 ай бұрын
need to see your code
@ರಘುನಾಥ್ಕೆ
@ರಘುನಾಥ್ಕೆ Жыл бұрын
Sir could you please guide how to delay the mail sending 60 seconds for each mail 🙏
@albertodiaz6915
@albertodiaz6915 2 жыл бұрын
Hello! Can you please share with me a copy of the macro so I can customise it. Thanks
@AutomationMadeEasy
@AutomationMadeEasy 2 жыл бұрын
where shall i send
@Srikanth-lb3gl
@Srikanth-lb3gl 5 ай бұрын
Hi, Could you please share the code, Thanks in Advance
@deepshah3344
@deepshah3344 11 ай бұрын
Microsoft Outlook object library is not shown in my list
@AutomationMadeEasy
@AutomationMadeEasy 11 ай бұрын
which os are you using?
@deepshah3344
@deepshah3344 11 ай бұрын
Window 11
@rodgeri.gaeseb7297
@rodgeri.gaeseb7297 Жыл бұрын
I am getting an error on line 424 error when setting strMailBody...
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
whats the error description
@mallikarjunamavilla7479
@mallikarjunamavilla7479 2 жыл бұрын
hi the code not working me it's asking for error 424 Object required
@sharmilaramnani1740
@sharmilaramnani1740 Жыл бұрын
I am getting some error. Can you please guide me... I can mail you the code I have written based on your tutorial...
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
what is the error description?
@sharmilaramnani1740
@sharmilaramnani1740 Жыл бұрын
@@AutomationMadeEasy The code DimObjOutlook As Object is getting highlighted and the error message is Complile error. Statement invalid outside type block.
@sharmilaramnani1740
@sharmilaramnani1740 Жыл бұрын
Would it be possible for you to review my requirement and make the necessary modifications in my file? Naturally for a fee...
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
share your requirements at info@automationandagile.com
@sharmilaramnani1740
@sharmilaramnani1740 Жыл бұрын
@@AutomationMadeEasy Sent...
@KamalRaj-nl8jg
@KamalRaj-nl8jg Жыл бұрын
I get error 438 and error in attachment code line. How to debug it
@shalinsharma6662
@shalinsharma6662 2 жыл бұрын
Hi, how can we add weblinks in the mail body ? please reply
@AutomationMadeEasy
@AutomationMadeEasy 2 жыл бұрын
will create a tutorial on it soon
@Talkatalkk
@Talkatalkk 2 ай бұрын
Hello how to contact you ?
@sandippatil8588
@sandippatil8588 2 жыл бұрын
I wish to add body table in this
@SunitaKumari-fb6gg
@SunitaKumari-fb6gg Жыл бұрын
Thanks
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
Welcome
@yogeshlakhamje8781
@yogeshlakhamje8781 20 күн бұрын
Share blog Link
@chitreshmhaskar6893
@chitreshmhaskar6893 2 жыл бұрын
Sir apki google forms vali coading fail ho gayi coz form shuffle mode pe hai apka video dekh ke same try kiya but getRange not defined show ho raha hai
@AutomationMadeEasy
@AutomationMadeEasy 2 жыл бұрын
getRange fail hone ka reason hain you are trying to read data from incorrect cell of the sheet. Script will wotk fine on open forms provided it is correctly designed and developed. Maine ek example diya hain but every form is different and will need customization based on the form
@benjaminmathew8578
@benjaminmathew8578 Жыл бұрын
Can you share coding
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
it available on the blog automationandagile
@ayanshetty9023
@ayanshetty9023 2 жыл бұрын
Please share your excel file with us
@sanjeebmaharjan
@sanjeebmaharjan Жыл бұрын
If only we could send it from gmail too
@AutomationMadeEasy
@AutomationMadeEasy Жыл бұрын
yes its certainly possible. Refer below tutorial: kzbin.info/www/bejne/mWi2YWBprZ6bfNk
@kwesi_AI
@kwesi_AI Жыл бұрын
Please how do I add the option to Copy someone in the email
How to create VBA code in Excel to send Emails through Outlook automatically | VBA
18:00
Using Dates with Excel VBA to Automate Email Reminders
19:20
Dinesh Kumar Takyar
Рет қаралды 197 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 14 МЛН
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49
How to Automatically Send Emails With HTML Tables Using Excel VBA Macros
15:46
Automation Made Easy
Рет қаралды 17 М.
Send Multiple Emails From Excel
10:09
Excel Macro Mania
Рет қаралды 87 М.
Automation: Send bulk emails using VBA and Outlook
13:35
PK: An Excel Expert
Рет қаралды 239 М.
How to automatically send customized mails with attachments from Gmail
18:00
Automation Made Easy
Рет қаралды 19 М.
Send Emails from Excel with Power Automate
8:22
How To Excel
Рет қаралды 300 М.
Excel Macros & VBA - Tutorial for Beginners
50:20
Kevin Stratvert
Рет қаралды 1,2 МЛН
Excel VBA Macro: Send Multiple Emails (with Multiple Attachments)
12:09
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 14 МЛН