+ Reply to Thread
Results 1 to 3 of 3

Emailing a snapshot of the userform?

  1. #1
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Crayford, kent
    MS-Off Ver
    Excel 2013
    Posts
    394

    Emailing a snapshot of the userform?

    Hi All

    is there a way to email or attach to an email a snapshot of a userform?

    I have so far this code......

    Please Login or Register  to view this content.
    and then this allows me to print the userform by using this in a command button

    Please Login or Register  to view this content.
    but i want to be able to email the form, and changing "print" to "email" or "outlook" doesnt seem to be working, obviously removing pagestup calls too

    This line ActiveWindow.SelectedSheets.PrintOut Copies:=1 i would of thought i could change to "send" but theres no option

    Would anyone know, im hopeful its an easy change to make

    Thanks

    Dan

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,997

    Re: Emailing a snapshot of the userform?

    Try replacing:
    Please Login or Register  to view this content.
    with:
    Please Login or Register  to view this content.
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Crayford, kent
    MS-Off Ver
    Excel 2013
    Posts
    394

    Re: Emailing a snapshot of the userform?

    Thanks for the reply, i have just managed to do it pretty much like you suggested

    Please Login or Register  to view this content.
    I just removed the pagesetup code and replaced it with senmail line to attach the newly created workbook of the snap shot, works perfectly

+ 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. VBA Error '1004'- Userform use and emailing data
    By Wayesu in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 06-27-2014, 02:32 PM
  2. Generating Snapshot
    By Pigggy in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-26-2011, 03:16 AM
  3. Need a nice little snapshot....
    By Wish_I_Was_A_Guru in forum Excel General
    Replies: 3
    Last Post: 11-01-2011, 07:30 PM
  4. Snapshot to excel
    By djfatboyfats in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-02-2008, 01:28 PM
  5. emailing a userform during runtime
    By dstyles782001 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-03-2006, 12:45 PM

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