+ Reply to Thread
Results 1 to 2 of 2

VBA pull data from sheet map to outlook body msg

  1. #1
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    VBA pull data from sheet map to outlook body msg

    i have assigned code to send mail through excel in outlook but

    but i want assign the body text as sheet range(A3:I10) of pivot this range map to bodytext of every mail from every workbooks.

    i have enclosed two files one is mailsender and another sheet which to attach and send contains PIVOT sheet in first tab.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    06-04-2009
    Location
    Stourbridge
    MS-Off Ver
    Excel 2013
    Posts
    26

    Re: VBA pull data from sheet map to outlook body msg

    Hi,

    you need to use the RangetoHtml function from RonDeBruin to paste the required range into the msg body.
    http://www.rondebruin.nl/win/s1/outlook/bmail6.htm

    The Aegis Inforware book needs to be opened to copy the range.
    ....I forgot you'll need to add code to close the opened file once the mail has been sent!!

    You may have to modify the code but hopefully you'll get the gist.

    Please Login or Register  to view this content.
    Last edited by daverunt; 06-07-2013 at 12:42 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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