+ Reply to Thread
Results 1 to 4 of 4

Insert Excel Range into Outlook Message

  1. #1
    Registered User
    Join Date
    02-17-2012
    Location
    charlotte, nc
    MS-Off Ver
    Excel 2007
    Posts
    25

    Insert Excel Range into Outlook Message

    Hello All,

    I'm trying to insert a range of excel data into an email message. The macro I have looks for a mail item and downloads the attachment. Then it copies that data into another excel and sets up a report. The report is small and I want to copy/insert that into a mail message and send it to others. Everything in my code works except inserting the range. I'm using the html method, copying the range into an html document, then reading that back into the mail message, but it always shows up as a blank email. Any suggestions? Below is my code. The html stuff is at the bottom of the code, the first half is just copying data and inserting formulas.

    Please Login or Register  to view this content.

    Thanks for any help anyone is able to give!

  2. #2
    Registered User
    Join Date
    02-17-2012
    Location
    charlotte, nc
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Insert Excel Range into Outlook Message

    Any have any ideas? Below is the code snippet I'm having issues with. It just shows a blank email/html document when I do this. And I'm sure there is data in the range I am copying.
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-17-2012
    Location
    charlotte, nc
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Insert Excel Range into Outlook Message

    I figured it out. I don't think the html thing works when running the macro in Outloook. I am using an html table now. I set message = "<table>" etc, filling in the rest of my table data i need to copy.

  4. #4
    Registered User
    Join Date
    07-21-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: Insert Excel Range into Outlook Message

    hi satinia, can you share the complete codes?

    thanks

+ 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. Body of outlook message to Excel
    By dougmorgan in forum Outlook Programming / VBA / Macros
    Replies: 0
    Last Post: 05-19-2013, 09:11 AM
  2. [SOLVED] Sending range to Outlook message - macro glitching
    By VBA FTW in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-20-2012, 10:44 AM
  3. [SOLVED] Excel Worksheet Opens in Outlook Message
    By Perry in forum Excel General
    Replies: 1
    Last Post: 11-18-2005, 08:10 PM
  4. [SOLVED] send a outlook template message from excel
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-08-2005, 11:05 PM
  5. [SOLVED] Insert Outlook Message into Excel cell
    By Andy in forum Excel General
    Replies: 1
    Last Post: 06-17-2005, 07: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