+ Reply to Thread
Results 1 to 2 of 2

Sending filtered range to email as body

  1. #1
    Registered User
    Join Date
    02-09-2009
    Location
    Washington, US
    MS-Off Ver
    Excel 2003
    Posts
    73

    Sending filtered range to email as body

    I am trying to copy the filtered results and load them into an email body.

    I have all the code for the email and to filter the results. My problem is how do I paste the filtered results or how do I save them as a variable to put them into the email body.

    With ActiveSheet
    .Range("B4:K4").AutoFilter
    .Range("$B$4:$K$50").AutoFilter Field:=5, Criteria1:=strSalesManagerFilter
    End With

    I don't know what to do from here to save or get these results into the email.

    Thank you,

    JJ

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Sending filtered range to email as body

    If you use Outlook as your Email Client see this link...it does exactly as you describe. If you need help adapting let me know.

    http://www.rondebruin.nl/win/s1/outlook/bmail2.htm
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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