+ Reply to Thread
Results 1 to 13 of 13

Sending Emails to outlook via Excel with 2 tables

  1. #1
    Registered User
    Join Date
    01-11-2019
    Location
    India
    MS-Off Ver
    MS 365
    Posts
    68

    Sending Emails to outlook via Excel with 2 tables

    Hello,

    I have a complicated requirement!
    I have a list of more than 300 participants to whom I have to assign different depts. (Sheet-Email, Range N to S) for their orientation.

    We have to send emails to each and every participants along with their assigned depts. table., and also table 2 given in Sheet-Dept Details., where the Dept's contact details, timings, POC etc. are mentioned.

    In column E (Email Body), I have explained the way how my email draft should look like. For each participant it will be different. (Because of the tables)
    Can someone help to create a user form with all these requirements?

    Also when clicked on send button, I want it to directly send emails and not wait for me to again click on send button in outlook.

    I have always got solutions here, I hope this gets solved too!
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Kinjal Doshi; 05-24-2025 at 09:54 PM.

  2. #2
    Registered User
    Join Date
    01-11-2019
    Location
    India
    MS-Off Ver
    MS 365
    Posts
    68

    Re: Sending Emails to outlook via Excel with 2 tables

    I have also attached the output image... how I want the email draft to look like

  3. #3
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,080

    Re: Sending Emails to outlook via Excel with 2 tables

    Each email begins with "Hello Miss,". Is it always "Miss" or could it be "Mr." or something else? If the body of the email is always going to be the same for everyone with the exception of "Miss", then you actually need only the "Miss" or "Mr." in column E. Please clarify.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  4. #4
    Registered User
    Join Date
    01-11-2019
    Location
    India
    MS-Off Ver
    MS 365
    Posts
    68

    Re: Sending Emails to outlook via Excel with 2 tables

    Hi,

    It will names of the attendees, I just wrote that in all as a sample.,

    Apart from the name and the 2 tables, the message will be same for all
    Also... In my image that I have attached, I have given only depts by day... I will also add the columns of unique id ,their names and contact details...i.e from Column H to S
    Last edited by Kinjal Doshi; 05-25-2025 at 10:09 AM.

  5. #5
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,080

    Re: Sending Emails to outlook via Excel with 2 tables

    Have a look at the attached file. Please take note of the directions in cell F1. When you double click on any cell in columns F or G, a window will pop up where you can find and select a file you want to attach to the email. This must be done before you click the "SEND" button. Also, change "Display" to "Send" in the macro in Module1 to suit your needs.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    01-11-2019
    Location
    India
    MS-Off Ver
    MS 365
    Posts
    68

    Re: Sending Emails to outlook via Excel with 2 tables

    Hi Mumps...

    It is perfect!... only as mentioned in my post#4, I also want the first table to be from range I instead of N...

    I tried to change the code (highlighted in pink), but it is showing me error in below line..... not sure where I went wrong. Can you help to rectify?
    .Subject = v(i, 10) & " " & v(i, 12) & " | Dept. Visit"

    Please Login or Register  to view this content.
    I am attaching another image with the output that I want. Added columns with Yellow color heading
    Attached Images Attached Images
    Last edited by Kinjal Doshi; 05-26-2025 at 02:19 AM.

  7. #7
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,080

    Re: Sending Emails to outlook via Excel with 2 tables

    Try the attached file.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    01-11-2019
    Location
    India
    MS-Off Ver
    MS 365
    Posts
    68

    Re: Sending Emails to outlook via Excel with 2 tables

    Thank you so very much!
    It's working perfectly.

  9. #9
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,080

    Re: Sending Emails to outlook via Excel with 2 tables

    You are very welcome.

  10. #10
    Registered User
    Join Date
    01-11-2019
    Location
    India
    MS-Off Ver
    MS 365
    Posts
    68

    Re: Sending Emails to outlook via Excel with 2 tables

    Hi Mumps,

    Is it possible to add a code at the end, where it can take my default outlook signature?

  11. #11
    Forum Contributor
    Join Date
    03-05-2025
    Location
    Deutschland
    MS-Off Ver
    MS Office Home & Business 2024
    Posts
    408

    Re: Sending Emails to outlook via Excel with 2 tables

    Hi,

    try it like this:

    Please Login or Register  to view this content.
    BR, Alexandra

  12. #12
    Forum Contributor
    Join Date
    10-16-2023
    Location
    Poland
    MS-Off Ver
    Excel 2019 32bit WIN10
    Posts
    142

    Re: Sending Emails to outlook via Excel with 2 tables

    Is it possible to add a code at the end, where it can take my default outlook signature?
    Change:
    Please Login or Register  to view this content.
    to:
    Please Login or Register  to view this content.

  13. #13
    Registered User
    Join Date
    01-11-2019
    Location
    India
    MS-Off Ver
    MS 365
    Posts
    68

    Re: Sending Emails to outlook via Excel with 2 tables

    Hi,

    Thank you! it worked.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Sending Grouped Excel Data via Outlook Emails with Macro
    By Dave0292 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-14-2023, 01:59 AM
  2. Excel sending duplicate emails through Outlook
    By Vlad717 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-10-2015, 11:42 AM
  3. Macro help with sending emails from outlook base on excel dates
    By Wery123 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-16-2015, 12:42 AM
  4. [SOLVED] Sending Outlook emails from Excel; Limits to three emails only?
    By BPSJACK in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-29-2013, 06:53 AM
  5. Sending Outlook emails containing Excel data
    By Richard Buttrey in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-05-2009, 10:24 AM
  6. Replies: 1
    Last Post: 09-20-2008, 05:34 PM
  7. [SOLVED] Sending emails from Excel with Outlook Signature
    By Erik in forum Excel General
    Replies: 1
    Last Post: 04-24-2006, 02:20 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1