+ Reply to Thread
Results 1 to 8 of 8

vb coding to auto email all worksheets

  1. #1
    Registered User
    Join Date
    11-04-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    10

    vb coding to auto email all worksheets

    Can someone please help, I found this coding on the net which works brilliantly, but how do I change it to allow multiple lines in the body of the email?






    Please Login or Register  to view this content.
    Last edited by geebers97; 11-22-2016 at 06:16 PM.

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: vb coding to auto email all worksheets

    Hi geebers97

    Please wrap your Code in Code Tags...it's a Forum requirement.

    What do you wish the Body to say...currently it's ""?
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    11-04-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: vb coding to auto email all worksheets

    Sorry, how do I wrap the code in code tags?

    Basically my email body needs to read:


    For the attention of the Manager.

    Hopefully this will improve performance.

    Attached is a breakdown of your due items:

    1: Already Overdue.
    2: Over Value.

    Please make sure that progress in due course.

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: vb coding to auto email all worksheets

    Hi geebers97

    There's a Link in the Forum Ribbon an item of which is Forum Rules...see Rule 3...it describes how and why to use Code Tags.
    http://www.excelforum.com/forum-rule...rum-rules.html

    I'll address the Email Body in a separate Post...later...

  5. #5
    Registered User
    Join Date
    11-04-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: vb coding to auto email all worksheets

    I did manage it eventually.

  6. #6
    Registered User
    Join Date
    11-04-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: vb coding to auto email all worksheets

    This worked a treat.

    PHP Code: 
    .Body "Hello Susan," vbCr vbCr _
    "This is my email to you!" vbCr vbCr _
    "Thank you," vbCr _
    "John Doe" 

  7. #7
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: vb coding to auto email all worksheets

    Hi geebers97

    Good...we all learn something new each day...if we're fortunate

  8. #8
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: vb coding to auto email all worksheets

    Hi geebers97

    Really GOOD FOR YOU...great work!

    Please Login or Register  to view this content.
    You're on your way to an amazing ride...need further help...let us know.
    Last edited by jaslake; 11-22-2016 at 07:14 PM.

+ 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. VBA Code to Auto intialsend email & reminder email based on cell value
    By swk8429 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-16-2015, 06:15 AM
  2. Email Message body with reference to cell using VBA coding
    By MakkyD in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-23-2013, 03:52 AM
  3. VBA coding for sending email from excel with the help of outlook
    By NASIR KHAN in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-30-2012, 07:17 PM
  4. need help to send email using vba coding
    By mikewiwe in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-17-2010, 10:34 AM
  5. Automated email coding
    By netgame27 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-19-2010, 02:29 PM
  6. auto paste/forward email to folder/excel/wordreceive from a particular email ID
    By tariqnaz2005 in forum Outlook Formatting & Functions
    Replies: 1
    Last Post: 10-22-2009, 06:31 PM
  7. Macro to auto-email separate worksheets of same workbook to separate recipients?
    By Sean Anderson in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-09-2007, 09:51 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