+ Reply to Thread
Results 1 to 2 of 2

Sending mail with range as body using GMAIL

  1. #1
    Registered User
    Join Date
    04-20-2010
    Location
    riyadh, saudi arabia
    MS-Off Ver
    Excel 2007
    Posts
    7

    Sending mail with range as body using GMAIL

    Dear,

    normally i am able to send mail using gmail with example text by typing in body field.
    but i want to send Range(A8:D17) as message body.
    first i defined body1 as variable range, then i set body1 as value of my required range
    in body of message i used variable 'body1' but it is giving error "run-time error '13' , Type mismached "

    pls find the code as below...i which i am using and found by goggling...

    Please Login or Register  to view this content.
    pls suggest me where i need to change in ordger to send mail using range as body
    Last edited by vssoma; 03-28-2014 at 04:44 AM.

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

    Re: Sending mail with range as body using GMAIL

    Hi.. This works...

    Please Login or Register  to view this content.
    Note: If your range does NOT contain contiguous values.. then just copy the range to another sheet and then reset the range to that new block of data..
    Last edited by apo; 03-28-2014 at 05:55 AM.

+ 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. Mail Range/Selection in the body of the mail along with an attachment
    By johnny_canuck in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-27-2013, 05:52 AM
  2. After sending e-mail, body-text is gone
    By Marloes in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-12-2013, 05:29 AM
  3. sending mail in outlook with image in Top center of body .
    By yogananda.muthaiah in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-25-2012, 05:06 PM
  4. Replies: 7
    Last Post: 08-11-2012, 02:39 PM
  5. [SOLVED] Formating Body When Sending Mail
    By Andrew in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-15-2005, 08:05 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