Results 1 to 6 of 6
  1. #1
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Northern, California, USA
    Posts
    1,886
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Print Screen and E-mail

    Hello!

    A couple questions... Here's what I want to happen.

    1.) The user clicks on a userform in a button.
    2.) The form automatically saves a print screen of itself.
    3.) The screen print of the userform is e-mailed to a specified user.

    My question is, how can I do this all programatically? I can spawn my e-mail program, but what would be the best way to include a screen print?

    Any help greatly appreciated!
    <IMG SRC=http://www.wopr.com/w3tuserpics/Kel_sig.gif>
    Moderator:<font color=448800> Pix Place, Internet Explorer</font color=448800>
    <small>www.kvisions.com

  2. #2
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Northern, California, USA
    Posts
    1,886
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Print Screen and E-mail

    Anyone? [img]/forums/images/smilies/smile.gif[/img]
    <IMG SRC=http://www.wopr.com/w3tuserpics/Kel_sig.gif>
    Moderator:<font color=448800> Pix Place, Internet Explorer</font color=448800>
    <small>www.kvisions.com

  3. #3
    5 Star Lounger
    Join Date
    Dec 2000
    Location
    Reading/Swindon, Berkshire, United Kingdom
    Posts
    664
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Print Screen and E-mail

    Could you use send keys? Don't use them myself but maybe someone else will know.

    Brooke

  4. #4
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts

    Re: Print Screen and E-mail

    Hi Drk,
    Does it have to be an actual screen print or could you simply collect the data from each field on the form and construct an email out of that?
    Regards,
    Rory

    Microsoft MVP - Excel

  5. #5
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Northern, California, USA
    Posts
    1,886
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Print Screen and E-mail

    Ideally, it would be a screen print...

    In the future, I'd like to develop a way to send e-mail data to another spreadsheet for point insertion of the issue upon receipt, but that's just a pipedream right now... [img]/forums/images/smilies/wink.gif[/img]

    Any ideas?
    <IMG SRC=http://www.wopr.com/w3tuserpics/Kel_sig.gif>
    Moderator:<font color=448800> Pix Place, Internet Explorer</font color=448800>
    <small>www.kvisions.com

  6. #6
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Re: Print Screen and E-mail

    I think taking the screen shot would take you outside of excel vba and call on the OS itself. Have you tried posting a link to this thread on the VBA board? Perhaps one of the clan there knows more about how to get apps outside of excel to be directed by excel.
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •