Send Emails from Excel - Automatically and Manually (Macro & Non-Macro Solution)

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024
  • VBA/Macros Course (40% Discount): www.teachexcel...
    Send Emails from Excel Course (All You Need to Know): www.teachexcel...
    Excel File: www.teachexcel...
    Excel Forum: www.teachexcel...
    How to send Emails from Excel using automation and also via a handy button-click.
    This tutorial covers everything you need to know to be able to write simple working macros to send emails from within Microsoft Excel and also a simple non-macro method.
    You'll learn how to automate:
    - adding multiple recipients
    - sending attachments
    - sending the current workbook
    - changing the email body and subject
    - adding CC (Carbon Copy) recipients
    - adding BCC (Blind Carbon Copy) recipients
    - and more
    I also cover a common method that is used to create email macros for Excel, but that is not good practice, explain why it is not good practice, and show you how to change it to make it work better.
    Enjoy!
    TeachExcel.com

ความคิดเห็น • 304

  • @TeachExcel
    @TeachExcel  3 ปีที่แล้ว +6

    Downloadable File + Advanced Email Topics Covered Here: www.teachexcel.com/premium-courses/96/send-emails-from-excel-course?src=youtube_v_bxsvO6_uJUs_comment
    (This is a premium course.)

    • @ralitsabozhkova9794
      @ralitsabozhkova9794 3 ปีที่แล้ว +2

      Hello! The code is not available, is that right? We have to purchase the course?

    • @Mohammedkhan51
      @Mohammedkhan51 3 ปีที่แล้ว

      Your first 17 seconds showed what i was looking for - many thanks mate

    • @nidakhan7213
      @nidakhan7213 2 ปีที่แล้ว

      Excel file is not downloading i need code to practice please send me the files if possible

  • @udeniunawatuna846
    @udeniunawatuna846 2 ปีที่แล้ว +1

    This is awesome, could you suggest how to do this using gmail as the email platform please?

    • @excelonlineadvisor
      @excelonlineadvisor 2 ปีที่แล้ว

      Configure your Gmail on Outlook and then you are good to go

  • @mrmaurya5939
    @mrmaurya5939 4 ปีที่แล้ว +8

    This is what i were looking for since 2 months. Thank you Creater. Great job 👍

  • @rakirada4280
    @rakirada4280 ปีที่แล้ว +3

    Outstanding! I feel like a pro with this easy to understand tutorial. Thanks!

  • @nickhayes7551
    @nickhayes7551 2 หลายเดือนก่อน

    Brilliant video. I swear I have learnt more from Google and TH-cam than school ever taught me :)

  • @LUCKY007725
    @LUCKY007725 4 ปีที่แล้ว +17

    Nice work,
    Could you please tell me, how to add time condition to send auto email at a certain time.
    Waiting for valuable response.
    Regards

    • @samethalic
      @samethalic 4 ปีที่แล้ว +2

      Same here

    • @micha4186
      @micha4186 4 ปีที่แล้ว +3

      What was working for me was setting scheduled notification in Outlook which triggered sending email.
      Or you can set Windows schedule item which triggers excel sheet with VBA executed while open.

  • @enginmert4858
    @enginmert4858 4 ปีที่แล้ว +15

    I really loved this video. I believe it's very helpful. Do you also have another video for creating an email with tables on the body? I generally prefer adding the tables on the email to be easy for my customers to see the table on the email without opening any attachment.
    Thanks

    • @shubhamgond11
      @shubhamgond11 2 ปีที่แล้ว +1

      Hello bro, same here. I also have to add tables for daily orders in my mail. Did you figure it out how to add? If yes, please let me know

    • @excelonlineadvisor
      @excelonlineadvisor 2 ปีที่แล้ว

      @@shubhamgond11 Yes, you can add only selective content from the sheet instead of sharing the complete sheet

  • @canbuyukdeniz
    @canbuyukdeniz 2 ปีที่แล้ว +3

    Hi Sir,
    Do you know how to send automatic mails on certain times while computer is off ?

  • @averagejon9677
    @averagejon9677 2 ปีที่แล้ว +1

    This was VERY helpful!
    I wrote code that referenced and it worked for months until the Team expanded and i wasn't sure why only 2 or 3 people couldn't use my buttons. lol

  • @Mohammedkhan51
    @Mohammedkhan51 3 ปีที่แล้ว +1

    Your first 17 seconds showed what i was looking for - many thanks mate

  • @micha4186
    @micha4186 4 ปีที่แล้ว +10

    Thanks for easy explanation :)
    However you can, and sometimes you have to use both .display and .send. Especially when you want to delete the default signature that adds itself to new emails.

    • @toni-de
      @toni-de 2 ปีที่แล้ว

      I'm not getting the default signature. How can one add it?

  • @JimHearn
    @JimHearn 3 ปีที่แล้ว +3

    Great job! Appreciate the extra warnings/recommendations to NOT use code that has to enable References. Good idea to avoid issues when sharing or application version upgrades. :) Would like to know if I can use the "emailItem.Attachments.Add ("C:\test\test.xlsx")" with the file reference of something like ("C:\test\*.pdf") that would allow the user to be prompted to choose a PDF file in the C:\test folder, because I already have working code prior to this statement that printed the active workbook to PDF and already saved the workbook as XLSX for future editing.

  • @sebastianpa5694
    @sebastianpa5694 หลายเดือนก่อน

    Thank you so much for this. I have to add a section of my sheet (not an actual table). So I coded for my greetings, a short paragraph and now I need my data on the body. Can you help me do that? The tutorials using "references" show this but I get your point that this is not the best way of coding.

  • @Timacrafts1
    @Timacrafts1 6 หลายเดือนก่อน

    Great Tutorial. Question how can I now send the email to include a table?

  • @wayneedmondson1065
    @wayneedmondson1065 5 ปีที่แล้ว +1

    Hi.. great video.. you really broke it down into easy steps.. thanks! Just so I understand.. the main benefit of referencing the Object Library of the external application (in this case.. MS Outlook) is to get Intellisense when writing your code.. correct? But, the downside is that if the code is run on a system without the Object Library being enabled, then the macro fails.. thus making your first method more robust.. but with the slight detriment of not having access to Intellisense while you write your code.. correct? Thanks again for all the great tutorials.. learning a lot. Thumbs up!

  • @acetarape6358
    @acetarape6358 3 ปีที่แล้ว +1

    Very helpful especially if no exp or knowledge of vba at all. May I ask how can I attach multiple PDF files to a single email item saved in a folder?

  • @meedd-nov
    @meedd-nov หลายเดือนก่อน

    SUPER explication, SUPER easy to understand 👏🏻👏🏻👏🏻👏🏻

  • @wrwebb9272
    @wrwebb9272 หลายเดือนก่อน

    Well put together video, when i run it keeps staing waiting for object to run and will not complete.

  • @jholmes724
    @jholmes724 ปีที่แล้ว

    So we’ll done. Having all these examples is excellent.

  • @kevinklarnet8115
    @kevinklarnet8115 4 ปีที่แล้ว +1

    I looked for a VBA methodology for sending an email to a list of people in an Excel Spreeadsheet. The problem with many of the proposed solutions is that you have asked someone how to tell what time it is and they showed you how to build a clock. You provided a relatively simple framework that I was able to modify so that it looks at a list of names and emails and sends a message to each person on the list. The only thing I had to figure out was how to reset the email after each email was sent as I was getting an error message as I looped through my email list. With a little bumbling I stumbled on a solution using createitem(0) at the end of each run through the loop. Thanks.

    • @petersonmcdavid5520
      @petersonmcdavid5520 ปีที่แล้ว

      Can you send the code for this.

    • @kevinklarnet8115
      @kevinklarnet8115 ปีที่แล้ว

      @@petersonmcdavid5520
      The code below sends a PDF that is generated in another macro to a list of recipients.
      The list is generated from a form with a dropdown box that allows you to select multiple recipients. That dropdown box is on a master form and the names and emails are stored on a separate Worksheet within the workbook. Once the names are selected the macro I provided below is executed. It runs through a loop For/Next and for each name selected it executes the send routine imbedded in this code.
      I admit this is not as clean as it could be but it worked for my purposes. I just tested it and it still works.
      Hope this helps.
      Kevin
      Private Sub Email_PDF_Click()
      Dim emailapplication As Object
      Dim emailitem As Object
      Dim membername As String
      Dim membmail As Variant
      Dim ML As Worksheet
      Dim count As Integer
      Dim i1 As Integer
      Dim NoEmailCount As Integer
      Dim printnoemail As String
      Dim DS As Worksheet
      Dim listcounter As Integer
      Dim meetingname As String
      Dim i As Integer
      Dim group_name As Integer
      Dim PDF_Email_File As String
      Set emailapplication = CreateObject("Outlook.Application")
      Set emailitem = emailapplication.CreateItem(0)
      Set ML = Worksheets("Member List")
      Set DS = Worksheets("Data Sheet")
      count = WorksheetFunction.CountA(ML.Range("A:A")) - 1
      meetingname = DS.Range("G2")
      Module2.Create_List_PDF
      NoEmailCount = 2
      PDF_Email_File = ActiveWorkbook.Path & "\" & meetingname & " Membership List.pdf"
      listcounter = Edit_List.Listcount
      For i = 0 To listcounter - 1

      If Edit_List.Selected(i) = True Then
      membername = Edit_List.List(i, 0)
      membmail = Edit_List.List(i, 1)
      If membmail = "" Then
      GoTo errorloop
      End If
      emailitem.To = membmail
      emailitem.Subject = meetingname & " Meeting Lottery"
      emailitem.Body = membername & ", the latest version of the " & meetingname & " Member Phone List is attached."
      emailitem.Attachments.Add PDF_Email_File
      emailitem.send
      Set emailitem = emailapplication.CreateItem(0)
      errorloop:
      End If
      Next i
      Set emailitem = Nothing
      Set emailapplication = Nothing
      Worksheets("Front").Select
      Range("a1").Select
      For i = 0 To Edit_List.Listcount - 1
      Edit_List.Selected(i) = False
      Next i
      End Sub

    • @petersonmcdavid5520
      @petersonmcdavid5520 ปีที่แล้ว

      @@kevinklarnet8115 I love it are you currently on LinkedIn?

    • @kevinklarnet8115
      @kevinklarnet8115 ปีที่แล้ว

      @@petersonmcdavid5520 Glad it helped. Took some time to cobble it together a while ago. There may be a couple of unnecessay lines of code there. Yes, I am on LinkedIn.

  • @leonidapalushaj1149
    @leonidapalushaj1149 3 ปีที่แล้ว +1

    I would like to send via email only the active sheet not the entire excel file. How can i do it?

  • @ashwinisg7012
    @ashwinisg7012 2 ปีที่แล้ว

    How to add applications to fetch data? For example the macro should connect with IBM Reflection application to fetch the data

  • @SgtKingUSMC
    @SgtKingUSMC 3 ปีที่แล้ว +1

    Outstanding. Never used VBA before. i just try to keep all the code making in the cells. With that in mind how do i take what you made in this video and say have it automatically generate (in display version as you stated in your code) when a cell triggers it... Example: i keep a workbook record of daily equipment status. if a cell reaches under say 80% the cell will trigger the auto email and display it... how do we get to that point.

  • @hixydixy123
    @hixydixy123 4 ปีที่แล้ว +3

    Great video. Quick question, for the email body, what do I put in here so that email goes down the page and sentences on new lines? I'm writing my email but when I press play it's all coming out on one line. Thanks.

    • @davidgray9242
      @davidgray9242 4 ปีที่แล้ว +1

      %OA is equiv of carriage return/ new line, insert in your text, spaces not required before or after so "have a nice day%OATim" puts on two lines

  • @hasinarafenoarisoa3747
    @hasinarafenoarisoa3747 2 ปีที่แล้ว

    thank you so much!
    Please, how to send email to different recipients with different attachements?

  • @simonsun5974
    @simonsun5974 2 ปีที่แล้ว +1

    I don't know why. I have put everything there. It appears the program is running. No error complains. But there is no email recevied. Also when I open my outlook application. there is no email in sent box. because there are two versions outlook application in windows? could you help me out?

  • @flightperformancefitness
    @flightperformancefitness 4 ปีที่แล้ว +1

    is it possible to send a selection of the workbook as a pdf and not the entire workbook?

  • @berrtnayy
    @berrtnayy ปีที่แล้ว

    When you set this macro to issue an email automatically, when does this send? Everytime Excel is opened? Beginning of the day, every day?

  • @gabrielbodisch6325
    @gabrielbodisch6325 4 ปีที่แล้ว +2

    Is there a way to specify the email address you want to send the email from?

  • @moniruzzamanshohag
    @moniruzzamanshohag ปีที่แล้ว

    I want to copy the excel range to send an email respect to the current date.
    Example:
    The table range is A1:D20
    Column A for Date.
    Now I want to copy the range A5:D9 to send an email body, A5 to A9 cell value are current date.

  • @rehams5260
    @rehams5260 3 ปีที่แล้ว

    Thank you very much for the valuable information. I have question, Hwo can I send the email from different mailbox?

  • @drisk7691
    @drisk7691 3 ปีที่แล้ว

    I seriously LOVE you for making this video. This is going to save me countless hours at work. Cheers!

  • @joshuaibarra3563
    @joshuaibarra3563 2 ปีที่แล้ว +1

    This was a great tutorial! I had a quick question though. I do account management type work and have different internal associates attached to different clients on a sheet. Sometimes I have to send 100 emails to 100 different people while including 2 or 3 different people attached to each email for different clients.
    If I have a spreadsheet where lets say the client's email address is in A1, the manager for one product is in b1 and another product c1 (and then that pattern continues through A100, B100 and C100); how would I code it so that 100 people get 100 different emails while having the the correct team members CC'd for each.
    Additionally, is there a way for me to include form codes in the email body. For example, personalizing the name, dates, business names, ETC for each of the emails being sent out?

  • @s.karlongolocooper4953
    @s.karlongolocooper4953 3 ปีที่แล้ว +1

    why if I want to send the work sheet by gmail, and want for the receipting end to have excel input?

  • @user-cu3xt9ob4h
    @user-cu3xt9ob4h ปีที่แล้ว

    Awesome vid ! Is it possible to apply a timer to the Emails ? Say every 7 months for exemple it sends an Email. What would be the formula ?

  • @ebonicmaser
    @ebonicmaser หลายเดือนก่อน

    Is it possible to send just a worksheet instead of the entire workbook?

  • @saurabh62066
    @saurabh62066 4 ปีที่แล้ว +1

    Hi, thanks for this informative video. But could you please tell us how to add signature in it?

  • @genevievewilson9271
    @genevievewilson9271 4 ปีที่แล้ว +8

    What if I wanted to email an entire row of data, how to I create and email that array?

  • @naderthermostate791
    @naderthermostate791 ปีที่แล้ว

    What if email addresses are available in different workbook of specific sheet.

  • @GianfrancoBelloliW36
    @GianfrancoBelloliW36 2 ปีที่แล้ว

    Is there a walkaround to not use outlook? or at least not outlook desktop?

  • @leopoldovazquez3255
    @leopoldovazquez3255 ปีที่แล้ว

    Thanks you very much for a very well explained and easy to understand video
    I have two questions: 1) Is there a way to add a larger Body to the email (several lines)? and 2) How can you add a "larger distribution list"?.
    Again, thanks a lot.
    Leopoldo Vazquez

  • @avantikasarmalkar6650
    @avantikasarmalkar6650 16 วันที่ผ่านมา

    If I have to extract data from online application instead of excel can I do it if yes pls guide me

  • @carolinemacgregor5994
    @carolinemacgregor5994 4 ปีที่แล้ว +1

    I am a complete macros virgin and I managed to get this to work - thank you so much!!

    • @TeachExcel
      @TeachExcel  4 ปีที่แล้ว

      You are very welcome! I'm glad I could help))

    • @claudius_drusus_
      @claudius_drusus_ 4 ปีที่แล้ว

      Haha. He took your virginity.

  • @dankirchner4460
    @dankirchner4460 4 ปีที่แล้ว +4

    This is an awesome tutorial! Love it.
    I am working with tables. How can pick values from cells in the row and place them in the body of the email? Any feedback greatly appreciated!

    • @dc2guy2
      @dc2guy2 4 ปีที่แล้ว +1

      Here's another way to do this without any VBA and only using a few formulas!
      th-cam.com/video/WBHKxZUYn34/w-d-xo.html

    • @nikki_siddi
      @nikki_siddi 4 ปีที่แล้ว

      Refer to Leila gharani’s video where she talks about this

  • @federicomariconti4347
    @federicomariconti4347 3 ปีที่แล้ว

    thanks a lot, great video, any suggestions about choosing a different sender with outlook? and adding a different signature?

  • @davidanderson9173
    @davidanderson9173 2 ปีที่แล้ว +1

    great video, very helpful and easy to follow. How would I go about adding the default signature 2 lines down from the contents of the body?

    • @excelonlineadvisor
      @excelonlineadvisor 2 ปีที่แล้ว

      You can create (Regards and Name )the signature on the mail body while writing the code or you can use the signature as a reference also.

  • @allmight4732
    @allmight4732 ปีที่แล้ว

    This was very helpful. But may i ask how can i add cc using another cell on the excel

  • @AKaushal49
    @AKaushal49 4 ปีที่แล้ว +3

    Hi,
    I have query, if there are multiple sheets in the same excel file and I just want to send sheet1 only.
    Is that possible??
    If yes, than how??
    Thanks

    • @MrBeckball
      @MrBeckball 4 ปีที่แล้ว +1

      Please answer to this question!!! Still waiting

    • @nikki_siddi
      @nikki_siddi 4 ปีที่แล้ว

      I have the same doubt

  • @Angela-co2xm
    @Angela-co2xm ปีที่แล้ว

    Hi thanks for the video, very useful for me. However, is it possible to just attach a single worksheet from the workbook?

  • @kelseyk712
    @kelseyk712 ปีที่แล้ว

    How do I include an attachment where the pathway comes from one of the cells in the Excel Workbook?

  • @vasilikitsioni1739
    @vasilikitsioni1739 3 ปีที่แล้ว

    Hi! You are a great tracher! Please let me know...Can i choose to sent only one sheet and not the entire workbook?

  • @carolinemaloney1060
    @carolinemaloney1060 3 ปีที่แล้ว

    This is great can you advise if I can code in the from email address?

  • @cattyangel
    @cattyangel 3 ปีที่แล้ว

    Hi Dear, This is very good video but i am looking for to send auto email to different recipients based on cell value. if you any idea then please share your knowledge

  • @secretfriend7464
    @secretfriend7464 3 ปีที่แล้ว

    is it possible to make a macro to send email but through gmail in chrome or else?

  • @krishnanmadhu9086
    @krishnanmadhu9086 2 ปีที่แล้ว

    Is it possible to delay 48 sec on each email sending inteveal?

  • @joaquinmena6832
    @joaquinmena6832 3 หลายเดือนก่อน

    This is awesome. Exactly what I was looking for.

  • @davidcaster986
    @davidcaster986 4 หลายเดือนก่อน

    I love it great job!!!!!!!!!!!!

  • @qasimawan3569
    @qasimawan3569 2 ปีที่แล้ว

    Hi, how would you go about adding a 'Check Names' object in VBA?

  • @Miratelmani
    @Miratelmani 4 ปีที่แล้ว +3

    Hey man this is one of the cool video I ve ever seen.. Thanks for this

  • @jeanpierre4370
    @jeanpierre4370 3 ปีที่แล้ว

    I have an address book on sheet two.
    Is there a way to have VBA copy line 1 email address onto the "To" box and move on to line 2 once complete?
    I have 40 vendors, my email is a standard email but I need a VBA that can copy the address info from Vendor 1 then move to Vendor 2. Please help, thank you love your videos.

  • @robsutton6780
    @robsutton6780 3 ปีที่แล้ว

    Can you pull over two cell references to be included in the body? Tryng to use a range of cells but not working.

  • @prkchpsnaplsaws2322
    @prkchpsnaplsaws2322 3 ปีที่แล้ว

    This video has been fantasic -- one thing that I'm having trouble figuring out -- if i wanted my "Range" to include several email addresses...so, for example A1:A5 -- each new row is a different email address...how might i go about that?

    • @CharBendall
      @CharBendall 2 ปีที่แล้ว

      Let me know if you know a solution.

  • @user-gn3fy1cy2t
    @user-gn3fy1cy2t 4 หลายเดือนก่อน

    Excellent tutorial!

  • @Rajuuutube
    @Rajuuutube 2 ปีที่แล้ว +1

    Awesome. Very well explained. Thank you !!

    • @TeachExcel
      @TeachExcel  2 ปีที่แล้ว

      Thanks RS, I'm glad you think so :)

  • @VS-rh8rq
    @VS-rh8rq 3 ปีที่แล้ว

    Great videos. I saw security alert 'allow', 'deny' when setting are on '. Send' when doing bulk emails from Excel to outlook. Is they way to diaable it especially when doing bulk emails

  • @Wilkinsonway
    @Wilkinsonway 4 ปีที่แล้ว +1

    Great Work! I would like to learn more. Please keep me posted

    • @TeachExcel
      @TeachExcel  4 ปีที่แล้ว

      Thank you! :) Subscribe to the weekly newsletter on TeachExcel.com and you will be always informed, including for the new classes I am making)

  • @ramforce
    @ramforce 4 ปีที่แล้ว +1

    Simply brilliant. Super easy to understand.

  • @rsqswmr69
    @rsqswmr69 3 ปีที่แล้ว

    A quick question...Is there a rule in the macro that will send the email as a "Send on Behalf of" and a "Send As"?

  • @leonaisobelle7350
    @leonaisobelle7350 3 ปีที่แล้ว

    most comprehensive tutorial so far👍🏻👍🏻👍🏻

  • @isabelreyes2837
    @isabelreyes2837 3 ปีที่แล้ว

    Thank you so much!!!! I was struggling it was easy to follow and to understand the content.... But I have a quick question though, If I add a range of cells that contains a table and I add it as the email body will the email keep the table's formatting, like color, size and/or font?

  • @restlessmedia1526
    @restlessmedia1526 3 ปีที่แล้ว

    Want to copy data ( date)from previous day and paste next day we use filter function summary to update attendance day on day basis need code

  • @hulya7987
    @hulya7987 3 ปีที่แล้ว

    How to add the signature from outlook?

  • @nurfatinfarinaahmadamin4724
    @nurfatinfarinaahmadamin4724 2 ปีที่แล้ว

    how to send date today using vba for email notification ?

  • @joshwhitlam9027
    @joshwhitlam9027 4 ปีที่แล้ว

    This is a brilliant video! With this ‘create email function’ I am looking to create a timetable of sorts and input colleague names. I’d like excel to then email each inputted colleague with a calendar invite (outlook) for the specified date and time. Is this possible??

  • @jeremytobel2675
    @jeremytobel2675 ปีที่แล้ว

    Is there an easy way to add my outlook signature to this code. I have tried a few different methods and none have worked. When I create a new email in outlook my signature is automatically put into it. Wondering why it isn't that way with this. Thank you

  • @clabough501
    @clabough501 3 ปีที่แล้ว

    Is there a way to add code that saves the workbook before it sends without hitting the save button on the ribbon? Trying to remove steps if I can to make it easier on the people that will use my worksheet. Thank you

  • @TechAdmin
    @TechAdmin 3 ปีที่แล้ว

    Hi Buddy good video, i will to send a sheet by email not complete file is there option in Excel

  • @dema-3000
    @dema-3000 3 ปีที่แล้ว

    Great !!! Is there a similar way for recieving an emails?

  • @mohamedelmoslmany
    @mohamedelmoslmany 4 ปีที่แล้ว +1

    CAN I DETERMINE THE EMAIL SENDER [MAILFROM:]

  • @ringvision7075
    @ringvision7075 ปีที่แล้ว

    Could you just do .Display then .Send? If you change the order I think you are all set.

  • @roltol7539
    @roltol7539 3 ปีที่แล้ว

    i missing 1 simple thing, how do i use it how you put it in excel ? how you put it in a cell do you make a link/button or how do you make a button for every row to execute macro to take email from that row and generate and email ?

  • @rahimskitchen4740
    @rahimskitchen4740 4 ปีที่แล้ว

    I need help to find a specify a logic function in excel that will match the certain value in a column and cell and if the value match then it will look the immediate left cell and if there is a "1" in that cell then it will go to the column header and get the column header into different worksheet. If the immediate left cell is empty then it will loop through that row and find value "1" and get the column header.

  • @vabeach1989
    @vabeach1989 3 ปีที่แล้ว

    How can you dynamically populate the emailItem.to variable instead of manually typing in multiple email addresses.

  • @gautommalakar2887
    @gautommalakar2887 4 ปีที่แล้ว +1

    You saved me so much effort. Thanks for this amazing video.

    • @TeachExcel
      @TeachExcel  4 ปีที่แล้ว

      I'm very glad I could help :)

  • @KevinM88TR11
    @KevinM88TR11 3 ปีที่แล้ว

    Can you embed flyers in this?

  • @itguy5192
    @itguy5192 4 ปีที่แล้ว

    I need to know whether this can be automated or not: I get one raw data details on excel sheet on mail with attachment, this attached excel sheet gets automatically downloaded to certain location and then macro runs on that excel file as per schedule and then that excel sheet is send to several email addresses as per schedule without human intervention? What is required to do this automation?

  • @jonathanlam333
    @jonathanlam333 3 ปีที่แล้ว

    This is pretty much What I was looking for- Now Is there a way to autorun this process at 7am every morning?

    • @TeachExcel
      @TeachExcel  3 ปีที่แล้ว

      If you have Excel open at 7am every morning, sure. Otherwise, not from vba in Excel - I won't see a notification for your reply by the way, so if you have further questions on this, ask in the forum on TeachExcel.com - but usually we instruct people to use something outside of Excel if it is a must-do task every day at a certain time.

  • @davidhamilton6690
    @davidhamilton6690 3 ปีที่แล้ว +1

    Fantastic - just what i needed. Thanks!

  • @jamb027
    @jamb027 4 ปีที่แล้ว +1

    Brilliant Video, you explain things so easily. Would it be possible to auto-fill the email address based on value of a cell? Also auto-fill their name from a cell in the email body?
    Thank you

    • @TeachExcel
      @TeachExcel  4 ปีที่แล้ว

      Basically, you can do anything you want with the macro, but I do not have a video or tutorial specific to your need. Check some VBA/Macro tutorials that mention looking up data and using IF statements to check the data and using the FIND method in vba and combine that with, probably, using a placeholder in the body of the email that you use to replace with the name - if you keep the email body in the VBA code in Excel.

  • @bluesage1528
    @bluesage1528 4 ปีที่แล้ว +1

    Thank you for the video. I tried to download "Downloadable Files", but it was an empty Excel file. Could you advise?

    • @TeachExcel
      @TeachExcel  4 ปีที่แล้ว +3

      Hit Alt + F11 and open up module1 - the file holds the macro.

  • @woodhelm
    @woodhelm 3 ปีที่แล้ว +1

    Afternoon bud, I did exactly what you did on the video, when I update my spreadsheet no email gets sent out. Do I need to click on a button to activate it, or.....? your help would be very much appreciated.

    • @adamwood46
      @adamwood46 2 ปีที่แล้ว

      You have to physically click send to forward it to recipients. I'm searching to see if what you want can be achieved.

  • @rjsfrajola
    @rjsfrajola 4 ปีที่แล้ว

    Good night, it is possible to create a spreadsheet, with due date, description, value and payment status and place it on OneDrive or elsewhere but it will automatically send an email with the accounts that have Status = Open and that are due the day before expiration.
    All this without having to open the spreadsheet? If possible, I could teach. Thank you very much.

  • @aliq5522
    @aliq5522 4 ปีที่แล้ว +2

    Great Video! Thank you so much for sharing.

  • @Rosin0324
    @Rosin0324 2 ปีที่แล้ว

    This is helpful but how do i break the body message into a different line. Pressing Enter doesn't work for me.

    • @excelonlineadvisor
      @excelonlineadvisor 2 ปีที่แล้ว

      You cannot modify the content of the email every time with this coding. While writing code, pls ensure the code contains the default mail format which looks good to you for every customer. For further assistance, DM

  • @michellelee8481
    @michellelee8481 4 ปีที่แล้ว

    Do you have a macro code for sending email from Excel to IBM Notes instead?

  • @DeathKnight74
    @DeathKnight74 4 ปีที่แล้ว

    Very nice and clear explanation. Awesome tutorial.

    • @TeachExcel
      @TeachExcel  3 ปีที่แล้ว

      Thank you! I'm glad you liked it!)

  • @hadou_kent
    @hadou_kent 3 ปีที่แล้ว

    Hi, thank you for this wonderful video. I Just want to ask the code to add auto signature. thank you

  • @kasra7777
    @kasra7777 ปีที่แล้ว

    Hi, Can we use the Mail app instead of outlook in VBA?

    • @kasra7777
      @kasra7777 ปีที่แล้ว

      The Mail app is pre-installed on all versions of windows 10.

  • @vacuumcapsule
    @vacuumcapsule 3 ปีที่แล้ว

    This is a brilliant and clear tutorial. But it only works for me once and then gives a runtime error thereafter... except when the workbook is Read Only, then it works fine. Any idea why?

    • @TeachExcel
      @TeachExcel  3 ปีที่แล้ว

      Mmm there are lots of things that can go wrong. To better troubleshoot the issue, you should upload your sample file with the code and an explanation of the steps you take to trigger the error to our forum - sample file is key in this case.
      www.teachexcel.com/talk/microsoft-office?src=yt_comment

  • @knaseerpk1969
    @knaseerpk1969 2 ปีที่แล้ว

    Excellent vidoe, I run this code sucessfully but I am not receiving email. Even it is not shown in my sent box. What could be wrong? I don't see any mistake in my code

    • @TeachExcel
      @TeachExcel  2 ปีที่แล้ว

      Hi Khalid, try and use .Display instead of .Send and then click the Send button by hand and see if it works then. If it still doesn't work, it's an issue with the Outlook setup. If you still have issues, ask in our forum on TeachExcel and upload the sample file or code that you made (I do not get a notification of comment replies on here). Excel Forum: www.teachexcel.com/talk/microsoft-office?src=yt_comment_reply