+ Reply to Thread
Results 1 to 7 of 7

VBA Excel Range to Outlook as Image

  1. #1
    Forum Contributor
    Join Date
    04-09-2014
    Location
    Derby
    MS-Off Ver
    Office 2013 - For my sins
    Posts
    122

    VBA Excel Range to Outlook as Image

    Hi all,

    Hoping someone can help as Google can't get my specific request.

    I would like to copy a range from sheet "F4T_AM" over to Outlook as an image and then to use .Display for now but then use .Send once I know it's working.

    Below I have the code from the god Ron De Bruin. I am facing issues with getting the image into Outlook and highlighting the correct range.

    At the moment, it puts it into another sheet and then to Outlook, if it could go straight from the "F4T_AM" page that would be awesome!

    The below code deleted the image that may have already been there from an earlier run report, the report runs once a day, and then copies the table to another sheet.

    Please Login or Register  to view this content.
    The below code then completed the email outlook code.

    Please Login or Register  to view this content.
    Thanks in advance for all the help!

    Frankinstyyn!

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: VBA Excel Range to Outlook as Image

    Try removing this from the Delete code
    Please Login or Register  to view this content.
    And in the SendEmail code change
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Forum Contributor
    Join Date
    04-09-2014
    Location
    Derby
    MS-Off Ver
    Office 2013 - For my sins
    Posts
    122

    Re: VBA Excel Range to Outlook as Image

    Quote Originally Posted by gmr4evr1 View Post
    Try removing this from the Delete code
    Please Login or Register  to view this content.
    And in the SendEmail code change
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    Thanks for responding!

    Okay, removed and amended and it still does as before.

    Pastes it as a table without any dials or images.

    The image on the left shows how it should look and the right is how it shows with the current code.

    VBAOutlook.png

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: VBA Excel Range to Outlook as Image

    Is the image on the left a graph/chart?
    This might be something that we would need a sample file of, with dummy data and all the arrows, graphs, code etc. that you are using.

  5. #5
    Forum Contributor
    Join Date
    04-09-2014
    Location
    Derby
    MS-Off Ver
    Office 2013 - For my sins
    Posts
    122

    Re: VBA Excel Range to Outlook as Image

    Quote Originally Posted by gmr4evr1 View Post
    Is the image on the left a graph/chart?
    This might be something that we would need a sample file of, with dummy data and all the arrows, graphs, code etc. that you are using.
    No problem, thanks.

    It's pictures, formulas and a few other things to be honest.

    One of the reasons why I thought I could copy and paste into excel as Image and then copy the image to Outlook

    Please see attached.
    Attached Files Attached Files

  6. #6
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: VBA Excel Range to Outlook as Image

    This has got me a bit stumped. See if the info on this site helps in any way..
    http://www.rondebruin.nl/win/s1/outlook/mail.htm
    Possibly this page within the site...
    http://www.rondebruin.nl/win/s1/outlook/amail7.htm

  7. #7
    Forum Contributor
    Join Date
    04-09-2014
    Location
    Derby
    MS-Off Ver
    Office 2013 - For my sins
    Posts
    122

    Re: VBA Excel Range to Outlook as Image

    Quote Originally Posted by gmr4evr1 View Post
    This has got me a bit stumped. See if the info on this site helps in any way..
    http://www.rondebruin.nl/win/s1/outlook/mail.htm
    Possibly this page within the site...
    http://www.rondebruin.nl/win/s1/outlook/amail7.htm
    I've had a look and can't seem to figure it out.

    There might be a way to paste within the spreadsheet as a chart then open that in Outlook.

    Either way, thanks for looking into it and helping!

+ 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. Copy range as image to Outlook
    By amphinomos in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-23-2016, 02:21 PM
  2. [SOLVED] Troubleshoot - 2 different VBA for excel to image and paste to outlook
    By bdouglas1011 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-16-2014, 01:11 AM
  3. Sending Group of Excel cells automatically as bitmap image to Outlook
    By AlexKnoell in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-01-2014, 11:12 PM
  4. Need help copying a picture/image from excel to the body of an outlook email
    By kadames27 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-15-2014, 10:17 AM
  5. copy range and image & paste into outlook
    By sankar kasilingam in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-31-2013, 05:48 AM
  6. [SOLVED] sending Email (via outlook) from Excel with cell range and image from external file
    By Kramxel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-20-2012, 11:10 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