+ Reply to Thread
Results 1 to 5 of 5

Need help with code to generate an image file of my dashboard and email it via outlook

  1. #1
    Forum Contributor
    Join Date
    05-24-2015
    Location
    Dubai
    MS-Off Ver
    2010
    Posts
    333

    Need help with code to generate an image file of my dashboard and email it via outlook

    Hello,

    I have created an excel dashboard for my project. Now i want a code which can automatically convert the dashboard into an image file (jpeg, png, etc) and send this image file via outlook email to recipients. Can you please help me how to write the code for this. Appreciate your usual help.

    Regards,
    Santosh

  2. #2
    Forum Contributor
    Join Date
    07-25-2012
    Location
    Winterville, NC
    MS-Off Ver
    Excel 2013
    Posts
    141

    Re: Need help with code to generate an image file of my dashboard and email it via outlook

    Here is some email code I use:

    Please Login or Register  to view this content.
    I'm unsure how to convert it to jpeg but if you record a macro and do just those steps related to converting to jpeg (or whatever) that may help you along. Or I guess you could write the macro to save as jpeg and then use the part of the code above that lets you add an attachment.

    Here's where I got that code above from: 'For Tips see: http://www.rondebruin.nl/win/winmail/Outlook/tips.htm
    Last edited by acroley1; 05-26-2015 at 12:59 PM.

  3. #3
    Forum Contributor
    Join Date
    05-24-2015
    Location
    Dubai
    MS-Off Ver
    2010
    Posts
    333

    Re: Need help with code to generate an image file of my dashboard and email it via outlook

    Hello,

    I have attached a dashboard which I prepared. Now I want a VBA code wherein I can click a button in this dashboard and it will automatically generate a .PDF file of this dashboard report and send this pdf file via outlook email client to the recipients. This activity needs to be automated so i would appreciate if you can help with the VB code for this.

    Regards,
    Santosh
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    07-25-2012
    Location
    Winterville, NC
    MS-Off Ver
    Excel 2013
    Posts
    141

    Re: Need help with code to generate an image file of my dashboard and email it via outlook

    Try this in a module (then you can make a button and assign a macro to it on your main page):

    Please Login or Register  to view this content.
    Last edited by acroley1; 05-27-2015 at 10:11 AM.


    If this post was helpful or at least brought a smile to your face , please click the Add Reputation button as a way to say thank you!!!!!!

  5. #5
    Forum Contributor
    Join Date
    05-24-2015
    Location
    Dubai
    MS-Off Ver
    2010
    Posts
    333

    Re: Need help with code to generate an image file of my dashboard and email it via outlook

    Thanks a lot for the solution, it really works

+ 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. 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
  2. Replies: 4
    Last Post: 01-02-2014, 12:19 PM
  3. [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
  4. Using Excel VBA to generate an email in outlook
    By BrianDegnan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-01-2010, 12:14 PM
  5. Auto Generate MS Outlook Email Message from Excel
    By LordMarcus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-10-2008, 08:35 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