+ Reply to Thread
Results 1 to 5 of 5

Email Macro with Unique Subject Line

  1. #1
    Registered User
    Join Date
    12-26-2015
    Location
    Las Vegas
    MS-Off Ver
    2013
    Posts
    49

    Email Macro with Unique Subject Line

    Hello Gurus,

    Attached is the sheet in question... this should be an easy one for yall!

    Below is an piece of code I got from Ron de Bruin... works great but I cannot figure out how to change it properly. I need my column A values to display on the .Subject line for each email sent out.

    Each email gets an unique attachment, unique email .Subject line, and sent to unique email address. All I need is the .Subject line piece... just fyi... because the email macro requires filepath you may need to create a fake file to attach to the email...

    Any help is GREATLY appreciated!!!

    Please Login or Register  to view this content.

    ANY help is greatly appreciated!
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,850

    Re: Email Macro with Unique Subject Line

    Look at
    https://www.excelforum.com/excel-pro...excel-vba.html
    "No xadrez nem sempre a menor distāncia entre dois pontos é uma linha reta" G. Kasparov.

    If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select b from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  3. #3
    Registered User
    Join Date
    12-26-2015
    Location
    Las Vegas
    MS-Off Ver
    2013
    Posts
    49

    Re: Email Macro with Unique Subject Line

    Thank you for the reference marreco... but, I could not figure out how to get what I need done.

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,603

    Re: Email Macro with Unique Subject Line

    Why three loops?

    Surely you only need one or at most two?
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  5. #5
    Registered User
    Join Date
    12-26-2015
    Location
    Las Vegas
    MS-Off Ver
    2013
    Posts
    49

    Re: Email Macro with Unique Subject Line

    Thank you soo much Norie!

    I was confused about 3 loops as well but the excel debugger kept confusing me... plus Im not an expert so down the rabbit hole I went!!!

    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. macro to create an email with unique subject for every value in column A
    By melody10 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-12-2016, 02:55 AM
  2. Replies: 6
    Last Post: 11-24-2015, 01:32 PM
  3. Replies: 0
    Last Post: 06-18-2015, 05:35 PM
  4. creating a macro to use cell content as subject line in sending email - protected sheet
    By John Eathorne in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-18-2013, 05:06 PM
  5. Macro Automate Email Subject Line Based on Cell Value
    By richzipday in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-20-2013, 06:33 PM
  6. [SOLVED] Create macro to send worksheet as body of email using cells as subject line
    By LindaABH in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-16-2012, 07:43 PM
  7. Replies: 0
    Last Post: 08-16-2011, 02:40 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