+ Reply to Thread
Results 1 to 4 of 4

Send Sheet as an attachment and Use Range as Body

  1. #1
    Registered User
    Join Date
    10-03-2013
    Location
    california
    MS-Off Ver
    Excel 2007
    Posts
    34

    Send Sheet as an attachment and Use Range as Body

    Hi all,

    I'm trying to figure out how to attach a sheet from my workbook (Sheet1) to an outlook email and at use a range in (sheet1) (Range B10:E10) as a body to the email.

    I was able to find a code to send the sheet as an attachment but I'm stumped on how to make it work on adding a range in the sheet as a body of the email message.


    Your help is greatly appreciated as I am trying my best to learn VBA.

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor
    Join Date
    03-22-2013
    Location
    Australia,NSW, Wirrimbi
    MS-Off Ver
    Excel 2013
    Posts
    1,057

    Re: Send Sheet as an attachment and Use Range as Body

    Hi..

    Check this out..

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

  3. #3
    Registered User
    Join Date
    10-03-2013
    Location
    california
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: Send Sheet as an attachment and Use Range as Body

    Thank you for the response apo

    i've checked that guide out already. I have tweaked some of Mr. Ron de Bruin's code to make it work but i'm at my limit of VBA knowledge.

    The code I posted is actually a combination of two of his codes

    1. Send a sheet as an email attachment
    2. Send email to a distribution list on a reference cell

    I'm trying to add inset another feature to the code which is to copy/paste the on cells B10:E10 to the body of the message. I just don't know how to make it work.

    Im trying to insert this code but it wont work. the body of the email is still empty.
    Please Login or Register  to view this content.
    What I want to accomplish is to have the code on my first post to work with this code:
    http://www.rondebruin.nl/win/s1/outlook/bmail2.htm

    But its too complicated for me with all the function and stuff. I really need help with understanding this one.

    Thank you
    Last edited by moxman; 10-14-2013 at 02:51 AM.

  4. #4
    Valued Forum Contributor
    Join Date
    03-22-2013
    Location
    Australia,NSW, Wirrimbi
    MS-Off Ver
    Excel 2013
    Posts
    1,057

    Re: Send Sheet as an attachment and Use Range as Body

    Attached is an example of sending a Worksheet range in the body of an email..

    Just change the range (and sheet name) in this line..
    Please Login or Register  to view this content.
    Let me know if that gets you there or if you need more help integrating it..
    Attached Files Attached Files

+ 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. [SOLVED] Send Email 1 sheet as attachment and other sheet as body of emial.
    By hecgroups in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-19-2013, 02:57 AM
  2. [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
  3. Emailing PDF, another attachment, and with range in email body
    By supcussy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-24-2012, 10:03 PM
  4. Send Range of Cells as an Attachment
    By laffers in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-31-2011, 01:32 PM
  5. Send sheet as Outlook attachment
    By Jessy01 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-04-2011, 01:28 PM

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