+ Reply to Thread
Results 1 to 12 of 12

Multiple email recipients from excel

  1. #1
    Forum Contributor
    Join Date
    01-23-2010
    Location
    Suffolk, England
    MS-Off Ver
    Office 365
    Posts
    226

    Unhappy Multiple email recipients from excel

    Hi,

    I have obtained the following code which works great apart from the fact that I want to just send one email to all addressees instead of multiple emails. Is there someone who could help modify it please;

    Please Login or Register  to view this content.
    I appreciate any help offered

    Kind regards

    Steve
    Last edited by Richard Buttrey; 01-23-2010 at 12:50 PM. Reason: Missing Code tags

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Multiple email recipients from excel

    Hi Steve,

    Welcome to the forum.

    Please note the forum rules about putting VBA code inside
    Please Login or Register  to view this content.
    tags. As this is your first visit I have changed them for you this time.

    Regards
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Multiple email recipients from excel

    Steve,

    Try the following modified procedure.

    Please Login or Register  to view this content.
    HTH

  4. #4
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Multiple email recipients from excel

    Try

    Please Login or Register  to view this content.
    Martin

  5. #5
    Forum Contributor
    Join Date
    01-23-2010
    Location
    Suffolk, England
    MS-Off Ver
    Office 365
    Posts
    226

    Re: Multiple email recipients from excel

    Hi Richard,

    Thank you for your help and advice. That worked perfectly and apols for absence of code tags - now understand this.

    Kind regards

    Steve

  6. #6
    Forum Contributor
    Join Date
    01-23-2010
    Location
    Suffolk, England
    MS-Off Ver
    Office 365
    Posts
    226

    Re: Multiple email recipients from excel

    Hi Martin,

    Thanks to you also for a quick response. I really appreciate your willingness to look at this for me.

    Best wishes,

    Steve

  7. #7
    Forum Contributor
    Join Date
    01-23-2010
    Location
    Suffolk, England
    MS-Off Ver
    Office 365
    Posts
    226

    Re: Multiple email recipients from excel

    Hi,

    Please would someone let me know how to invoke the macro by the easiest method

    I'm thinking this is to have a cell in the worksheet which gets clicked

    Again, help is appreciated

    Steve

  8. #8
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Multiple email recipients from excel

    Hi Steve,

    Probably the easiest way is to add an object of some sort, an icon, picture, drawing object like a rectangle etc. and associate your TestFile macro with it. i.e. once you have the object on the sheet, right click it, choose 'Assign macro' and then select the TestFile macro.

    Now whenever you click the object the macro will run.

    You can of course also run it directly from the Menu, 'Developer > Macros if you're using 2007, or Tools > Macro > Macros with 2003.

    HTH

  9. #9
    Forum Contributor
    Join Date
    01-23-2010
    Location
    Suffolk, England
    MS-Off Ver
    Office 365
    Posts
    226

    Re: Multiple email recipients from excel

    Hi Richard,

    This is very simple but very effective, thanks - as you can tell my Excel skills are not the best

    Please would you help further with the vba code from the start of this thread?

    1. How do I format the body content so that it is presented as two distinct columns

    2. How do I add to the body content, the content of an additional cell or cells?

    Hope I'm not asking too much

    Best wishes,

    Steve

  10. #10
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Multiple email recipients from excel

    Hi,

    What exactly is the Body content? Presumably the macro which contains "Dear Everybody" and "This is the message" is just an example. I'm assuming the real body is a paragraph of text in the workbook.

    If so can you upload the actual workbook you're using?

    Rgds

  11. #11
    Forum Contributor
    Join Date
    01-23-2010
    Location
    Suffolk, England
    MS-Off Ver
    Office 365
    Posts
    226

    Re: Multiple email recipients from excel

    Hi Richard,

    Here it is

    Steve
    Attached Files Attached Files

  12. #12
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Multiple email recipients from excel

    Hi Steve,

    Please see the attached. Is this something along the lines of what you want. The macro to run is the 'CreateOutlookMessage'

    Let me know
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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