+ Reply to Thread
Results 1 to 3 of 3

Alt+Print Screen then Opens new Outlook Mail Message and Pastes into Body of Email

  1. #1
    Registered User
    Join Date
    08-19-2010
    Location
    Lincoln, England
    MS-Off Ver
    Excel 2003
    Posts
    2

    Alt+Print Screen then Opens new Outlook Mail Message and Pastes into Body of Email

    Hello

    I have searched all over the net and I have not found a solution that I can adapt to help me with this.

    I have found a solution using simple VB code to do the action of Alt+Print Screen to get the image I require stored in the Clipboard. Using;

    Private Sub CommandButton1_Click()
    Application.SendKeys "(%{1068})"
    DoEvents

    End Sub

    I have also found a great bit of VB which allows you to select a range of cells in Excel and then it converts thats into a Bitmap Image and places that into a new email message.

    However I can not marry the 2 together which will allow me to use the the print screen image which is stored in the Clipboard and place in into a new email message.

    Any help would be great.

  2. #2
    Forum Contributor
    Join Date
    05-09-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    315

    Re: Alt+Print Screen then Opens new Outlook Mail Message and Pastes into Body of Emai

    Hi

    The following code works for me in Excel/Outlook 2007 to copy an image of the active sheet into an email message. It will only display the email (the user has to press send). Also, it uses Sendkeys, which can be unreliable.

    Dion


    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-19-2010
    Location
    Lincoln, England
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Alt+Print Screen then Opens new Outlook Mail Message and Pastes into Body of Emai

    Thankyou very much this has worked perfectly.

    Sorry about the late reply back.

    Alex

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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