+ Reply to Thread
Results 1 to 1 of 1

Populate Subject Line if the "To" Field belongs to a specific Recipient

  1. #1
    Registered User
    Join Date
    09-13-2017
    Location
    United States
    MS-Off Ver
    MS Office 365
    Posts
    43

    Populate Subject Line if the "To" Field belongs to a specific Recipient

    Hi,

    Is it possible to write a VBA/Macro that will populate the subject line of a new email, if the recipients belongs to a specific email address?

    For example, if the recipient is "John Smith" and his email address "jsmith@gmail.com," the subject line will populate with a text "Report"

    I wrote a code but not sure if it is correct. Please let me know you thoughts on how I can improve it. Thank you!
    Please Login or Register  to view this content.
    Last edited by RXcel; 10-06-2019 at 11:59 AM.

+ 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. Filter Specific Pivot Table Field based on "Contains Words in Cell Range x:x"
    By morangeman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-28-2017, 12:48 AM
  2. Change in reply subject line based on recipient choice
    By dineshsachidananda in forum Outlook Programming / VBA / Macros
    Replies: 0
    Last Post: 05-09-2017, 10:00 PM
  3. Macro to create emails, attach files, add recipient and add subject line
    By dw_22801 in forum Outlook Programming / VBA / Macros
    Replies: 8
    Last Post: 05-08-2017, 05:11 PM
  4. Replies: 2
    Last Post: 06-06-2013, 12:45 PM
  5. How to change "From" & to have a dynamic "Subject" line in Excel Mailing
    By andy_iyeng in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-25-2012, 03:04 AM
  6. Run *.bat once the outlook mail received with Subject line "welcome" on daily by user
    By yogananda.muthaiah in forum Outlook Programming / VBA / Macros
    Replies: 5
    Last Post: 03-05-2012, 01:47 PM
  7. [SOLVED] textbox value to be used as a "subject" line within an email
    By excelwatcher in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-07-2006, 12:35 AM

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