+ Reply to Thread
Results 1 to 3 of 3

Help needed in Macro to auto filter range and send details in body of email

  1. #1
    Registered User
    Join Date
    03-16-2019
    Location
    Chennai, India
    MS-Off Ver
    2016
    Posts
    2

    Help needed in Macro to auto filter range and send details in body of email

    Hi All,

    Can someone help me on this query?

    I got stuck in between code where I need to bring the dynamic range to the body of email along with "Dear Action party, Below are the set of invoices which needs your support in the workflow..

    My excel range is dynamic based on selection and based on to address in A1 cell it gets Auto-filter from Data Sheet from there it needs to send email to respective addresses.

    Thanks in advance

    Cross Post:in excelguru ca
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Help needed in Macro to auto filter range and send details in body of email

    First, put your data into an Excel table. Excel tables are easier to manage.

    Next I created a sheet (Agents) with pivot tables. The first PT is a list of customers. The second PT links addressees with the customers. Both lists are dynamic based on the data in the Data Table. However, if you add, delete or change data, you will have to refresh the pivot table - since both tables are built from the same data, refreshing one of them will refresh both.

    The macro to run is SendMailNotice.
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    03-16-2019
    Location
    Chennai, India
    MS-Off Ver
    2016
    Posts
    2

    Re: Help needed in Macro to auto filter range and send details in body of email

    Thank you so much, it helped

+ 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 Send email with Body as text
    By Sri.n in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-20-2015, 07:40 AM
  2. 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
  3. Help needed to Send Emails with atachment and company logos on Email Body
    By aukhan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-11-2013, 11:46 PM
  4. send email through excel with different cell range in the body of the mail
    By melody10 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-18-2013, 12:41 AM
  5. [SOLVED] Send range to email body
    By VBA FTW in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-01-2012, 05:59 PM
  6. Replies: 6
    Last Post: 12-02-2011, 02:14 PM
  7. Send cell range to the body of a Lotus Notes email
    By Rob0405 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-09-2009, 05:46 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