+ Reply to Thread
Results 1 to 4 of 4

sending email with specific range as email body vba modification

  1. #1
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    sending email with specific range as email body vba modification

    Hi this is one of the best solution I found on MS help site.
    This helps in sending email with certain cells from sheet as email body.

    Please Login or Register  to view this content.
    I am trying to modify this code to include:
    1. Range from A2:H5000 ( Only rows having data in it)
    2. When Receiver replies & edits cells, the colour of text added is RED in email body
    3. If I go ahed with sending email, but after display I change my mind, I should be able to cancel it. Currently I dont know how to do it, as email envp there is no provision

    Help requested
    Kind regards

  2. #2
    Forum Contributor
    Join Date
    12-09-2013
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    171

    Re: sending email with specific range as email body vba modification

    Hi,

    Lets try this..

    If you use the following code, the envelope will sent without any confirmation.

    Please Login or Register  to view this content.
    But, if you use it as following, then it will display first and then you need to click send to send out.

    Please Login or Register  to view this content.
    Thanks,
    Like my answer, then click * below

  3. #3
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: sending email with specific range as email body vba modification

    Hi Satabp,
    Thanks. This is known to me.
    I am trying the following.
    1. Range from A2:H5000 ( Only rows having data in it)
    Resolved it by: adding few lines as follows:
    Please Login or Register  to view this content.
    2. When Receiver replies & edits cells, the colour of text added is RED in email body
    3. If I go ahed with sending email, but after display I change my mind, I should be able to cancel it. Currently I dont know how to do it, as email envp there is no provision


    Item 2, 3 are still under experimentation and need help.
    Thanks

  4. #4
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: sending email with specific range as email body vba modification

    2 . HTML tags worked out to solve issue in 2 above
    3. This method closing envp is tricky and not necessary anymore.
    With this the thread has been solved.
    Thanks

+ 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. How to send email from excel using VBA with Cell Range (Including Images) as Email Body
    By Novice_To_Excel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-24-2014, 05:06 AM
  2. [SOLVED] sending email with a Picture in the body
    By kiranpat in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-22-2014, 08:31 PM
  3. Sending filtered range to email as body
    By h_aesa1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-08-2013, 06:50 PM
  4. Problem using loop for sending excel range in email body using Range to HTML code
    By drajanm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-24-2012, 03:17 AM
  5. Problem sending images in email body
    By sharky12345 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2012, 07:25 AM

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