+ Reply to Thread
Results 1 to 7 of 7

VBA send email macro

Hybrid View

Hoover5896 VBA send email macro 07-18-2018, 07:01 PM
k1w1sm Re: VBA send email macro 07-18-2018, 07:53 PM
Hoover5896 Re: VBA send email macro 07-18-2018, 08:12 PM
k1w1sm Re: VBA send email macro 07-18-2018, 10:21 PM
k1w1sm Re: VBA send email macro 07-18-2018, 10:11 PM
Hoover5896 Re: VBA send email macro 07-18-2018, 10:18 PM
Hoover5896 Re: VBA send email macro 07-19-2018, 11:14 AM
  1. #1
    Registered User
    Join Date
    07-08-2017
    Location
    Minnesota
    MS-Off Ver
    Microsoft Office 2016
    Posts
    78

    VBA send email macro

    Hello,

    Please see attached workbook showing a macro that already sends an email. I am struggling to figure out how to incorporate the part on the "Instructions" tab in the body of the email send to whoever. I am needing range A3:A8 on the "Instructions" tab to be in the body of the email with the highlights intact but I can not seem to think of how I can accomplish this. Any ideas?

    Thanks!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    09-02-2013
    Location
    wellington, new zealand
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: VBA send email macro

    You could try something like
    .Subject = ws.Cells(26, 2) & vbNewLine & ws1.Cells(8, 1)
    Where ws1 is you Instructions sheet.

    I don't have outlook so can't test it myself.

  3. #3
    Registered User
    Join Date
    07-08-2017
    Location
    Minnesota
    MS-Off Ver
    Microsoft Office 2016
    Posts
    78

    Re: VBA send email macro

    I actually need the .Body part adjusted but I tried that in place of that part of the code and it did not work unfortunately.

  4. #4
    Registered User
    Join Date
    09-02-2013
    Location
    wellington, new zealand
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: VBA send email macro

    Try this attached - note I have commented out all the file stuff
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-02-2013
    Location
    wellington, new zealand
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: VBA send email macro

    oops - can't get the help these days.

    In what way did it not work.

    Did it not send the mail, not add the newline??

  6. #6
    Registered User
    Join Date
    07-08-2017
    Location
    Minnesota
    MS-Off Ver
    Microsoft Office 2016
    Posts
    78

    Re: VBA send email macro

    It did not add the new line in the body of the email from the instructions tab.

  7. #7
    Registered User
    Join Date
    07-08-2017
    Location
    Minnesota
    MS-Off Ver
    Microsoft Office 2016
    Posts
    78

    Re: VBA send email macro

    Thank you!!

+ 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. Replies: 4
    Last Post: 01-30-2016, 02:13 PM
  2. [SOLVED] Macro to send an email to more that one email address in the same row
    By eddyrcabrera79 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-26-2015, 08:51 AM
  3. Macro to send email with attachment for each unique email Ids
    By vijanand1279 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-06-2014, 07:12 AM
  4. Workflow with signatures (if cell=x then send email, if signed then send email)
    By Kate2811 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-25-2014, 05:37 AM
  5. Email Macro o send Outlook Email
    By asivaprakash in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-01-2013, 07:05 PM
  6. Excel Email Macro VBA - How to send an email once all required fields have been fille
    By wallacm2009 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2012, 10:51 AM
  7. Replies: 6
    Last Post: 12-02-2011, 02:14 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