+ Reply to Thread
Results 1 to 5 of 5

Email contents of clipboard

  1. #1
    Registered User
    Join Date
    10-30-2008
    Location
    in a house
    Posts
    17

    Email contents of clipboard

    Pretty straightforward, is there anyway I can use an excel macro to use the contents of the clipboard as a body of an email?

    I was thinking of getting it to open up a html document and using a mailto script that way so that's another option, but for all you VB guys out there, is this possible without having to create a html page?

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492
    See if the explanations on this page get you in the right direction:

    http://www.rondebruin.nl/mail/folder2/mail4.htm
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    10-30-2008
    Location
    in a house
    Posts
    17
    Not quite what I want, I want to

    1) select all
    2) copy
    3) standard html mailto: body=info on clipboard

    We are relying on the users email client, which will be configured (guaranteed) but is not Outlook.

    this is also due to file size, even deleting all other sheets still resolves a large filesize, where as when the file is ACSII it's tiny and contains exactly the information I require.

    I'll just write a JS code if I have to, but then I have to write an install batch as well, it's just creating more work to need an external source to do this. surley there is just a simple

    Send mail to this address command in Excel, though I can't seem to find one.

  4. #4
    Forum Contributor beeawwb's Avatar
    Join Date
    01-04-2004
    Location
    Perth, WA, Australia
    MS-Off Ver
    Microsoft Office Excel 2003 (11.8146.8221) SP2
    Posts
    105
    If you're selecting all, could you just send the sheet as an email? The following code I use to send a sheet by email, doesn't require outlook. Reading it a bit more, it will send the selection as well, so you could send "select all"
    Please Login or Register  to view this content.
    Edit: I'm an idiot, forgot code tags.

  5. #5
    Registered User
    Join Date
    10-30-2008
    Location
    in a house
    Posts
    17
    Thanks guys, this was interesting

+ 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