+ Reply to Thread
Results 1 to 3 of 3

Send an email from Excel, adding actual workbook, Excel table and text.

  1. #1
    Registered User
    Join Date
    02-19-2018
    Location
    Czech Republic
    MS-Off Ver
    Excel 2016
    Posts
    68

    Send an email from Excel, adding actual workbook, Excel table and text.

    Hi all,

    This should be an easy one to solve... but I've tried several ways and it still I don't get the desired result...

    I have the attached code which adds the actual workbook and also adds an excel table into the email. This works perfect.

    The thing is: How can I still add into the email body some text? I've tried the classic: .Body = "xx" or .HTMLBody = "xxx" but it is always "overwritten" by the excel table.

    So, which line I can add to my actual code, in order to put an intro in the email body and below add the Excel table without having issues with overwritting?

    PS: I'm not looking to change the way I add the Excel table. The way it is pasted into the email is the desired one (I've tried the "wdChartPicture" but I don't like the result.

    Thanks in advance for your help!


    Please Login or Register  to view this content.
    Last edited by thorblow; 02-08-2022 at 05:24 AM.

  2. #2
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,557

    Re: Send an email from Excel, adding actual workbook, Excel table and text.

    You can probably do it nicer, but Outlook is not my garden.
    Try
    Please Login or Register  to view this content.
    For the code to work, please remove the red underscore in front of BODY.

    Artik

  3. #3
    Registered User
    Join Date
    02-19-2018
    Location
    Czech Republic
    MS-Off Ver
    Excel 2016
    Posts
    68

    Re: Send an email from Excel, adding actual workbook, Excel table and text.

    Thanks a lot Artik! I don't care if it's nice or not :D The flowers of my garden are ugly and cheap :D :D

    It worked as I wished, so thanks a lot!

+ 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] VBA to send email using data from the EXCEL including email address, subject and body text
    By ec4excel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-18-2016, 11:07 AM
  2. How do I send/email macros from my excel workbook to someone else?
    By Ron de Bruin in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 07:05 PM
  3. [SOLVED] How do I send/email macros from my excel workbook to someone else?
    By Drea in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 PM
  4. [SOLVED] How do I send/email macros from my excel workbook to someone else?
    By Drea in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  5. How do I send/email macros from my excel workbook to someone else?
    By Ron de Bruin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 02:05 PM
  6. How do I send/email macros from my excel workbook to someone else?
    By Drea in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  7. How do I send/email macros from my excel workbook to someone else?
    By Drea in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM

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