+ Reply to Thread
Results 1 to 12 of 12

How To Make a Reply Email Instead of A New Email Subject With VBA

  1. #1
    Registered User
    Join Date
    02-18-2023
    Location
    Kuala Tanjung, Indonesia
    MS-Off Ver
    2019
    Posts
    17

    Post How To Make a Reply Email Instead of A New Email Subject With VBA

    Hi everyone,
    I face a problem when I try to make an email reply using vba. My vba code send an email into a new conversation instead of reply to an existing subject.
    Please Login or Register  to view this content.
    Here is my code.
    How to change it so that it send an email in reply email instead of create a new email?
    The reply subject is "SPARE PART TO CHECK" that already in the email

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: How To Make a Reply Email Instead of A New Email Subject With VBA

    What is the email you are replying to?
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    02-18-2023
    Location
    Kuala Tanjung, Indonesia
    MS-Off Ver
    2019
    Posts
    17

    Re: How To Make a Reply Email Instead of A New Email Subject With VBA

    With the code, I send an email with the subject "SPARE PART TO CHECK"
    In the next email, I don't want to send an email with the same subject, but I want the code to reply the "SPARE PART TO CHECK" subject Email.

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: How To Make a Reply Email Instead of A New Email Subject With VBA

    You need to give a better explanation of your overall problem. Are you using the same code to send the next email? How will you indicate which email to reply to? (Why do you want to "reply" to an email that you sent yourself?)

  5. #5
    Registered User
    Join Date
    02-18-2023
    Location
    Kuala Tanjung, Indonesia
    MS-Off Ver
    2019
    Posts
    17

    Re: How To Make a Reply Email Instead of A New Email Subject With VBA

    In my current code, I use it to deliver an email with the content is a list of spare part that need to monitored and sent it to another people. Now, they want the spare part stock list sent inside the email that I already delivered (reply my own email) so that they can check what change in the spare part monitoring list faster (only scrolling the reply). That's why I want to change it into auto-reply email into an already create subject email instead of sending a new email everyday with the same subject (but not a reply email).

    I kind of bad at explaining things, so if there is something that still not clear, please ask again.

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: How To Make a Reply Email Instead of A New Email Subject With VBA

    It is possible to find an email in your own "Sent Items" folder and reply to it, but you have to have a way of identifying which email you want to reply to. What are the unique identifiers of that email?

    You said you want to change this code. But it seems to me that you have to have one Sub to create a new email, and a different one that sends a reply to one that you already sent. How do you decide when you need a new one?

  7. #7
    Registered User
    Join Date
    02-18-2023
    Location
    Kuala Tanjung, Indonesia
    MS-Off Ver
    2019
    Posts
    17

    Re: How To Make a Reply Email Instead of A New Email Subject With VBA

    The unique identifiers is the subject is "SPARE PART TO CHECK"

    I already create the email with the subject "SPARE PART TO CHECK". After that, I dont want to create an auto generate email using subject "SPARE PART TO CHECK", but I want to reply to the subject "SPARE PART TO CHECK" email. So, I want to change the code into replying an email with "SPARE PART TO CHECK" subject, not creating a new email.

  8. #8
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: How To Make a Reply Email Instead of A New Email Subject With VBA

    So once you create an email with a subject SPARE PART TO CHECK, you will never use that subject again?

  9. #9
    Registered User
    Join Date
    02-18-2023
    Location
    Kuala Tanjung, Indonesia
    MS-Off Ver
    2019
    Posts
    17

    Re: How To Make a Reply Email Instead of A New Email Subject With VBA

    Yes, that's true

  10. #10
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: How To Make a Reply Email Instead of A New Email Subject With VBA

    But it's hard-coded into your code. That means you only run the code once? Sorry, but I still find your basic idea of what you want to do confusing.

    Is there only one single email that you created, and now you want subsequent emails to reply to that one email?

  11. #11
    Registered User
    Join Date
    02-18-2023
    Location
    Kuala Tanjung, Indonesia
    MS-Off Ver
    2019
    Posts
    17

    Re: How To Make a Reply Email Instead of A New Email Subject With VBA

    Well here is my idea.
    I already sent an email with spare part list to other people email, and from now I want to reply my own email so that the other people that I sent the email to can track the changes in the spare part list easier. If I sent another new email, it will be harder to track the changes in my spare part list because other people have to search one by one my sent email. That's why I want to reply my own email.

    And yes, there is only one single email that I created, and I want to reply my own email so that other people can track the changes in the spare part list day by day easier. Is that possible?

    Sorry for late response

  12. #12
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: How To Make a Reply Email Instead of A New Email Subject With VBA

    That clears up what you want to do. I will have to look into how to find the email to reply to. It's not hard, I just don't have it in my head.

+ 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. Basic VBA for Email - No Attachment Needed - Only Subject, Email, Greeting & Body
    By fmiller81 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-09-2021, 03:04 AM
  2. [SOLVED] Macro to Email set of cells with identified email list and subject line with outlook
    By aaron061883 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-20-2020, 01:18 PM
  3. 1 email per email address, include cell value in email subject
    By melody10 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-31-2019, 10:27 PM
  4. Replies: 0
    Last Post: 02-11-2019, 08:45 AM
  5. Send Email but make sure they cannot reply to the sender
    By rpinxt in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-22-2014, 06:51 AM
  6. vba pull data from outlook body of email through email or subject of mail into excel
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-01-2014, 04:37 AM
  7. export outlook 2007 email into excel with subject and body of email
    By akulka58 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2013, 02:37 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