+ Reply to Thread
Results 1 to 3 of 3

Im looking to create a button that sends email

  1. #1
    Registered User
    Join Date
    09-07-2015
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    8

    Im looking to create a button that sends email

    Sorry but im a novice on excel
    Im looking to add a button on a spreadsheet that when its pressed emails the documment in full to two email addresses

    i know this is possible but have no idea on how to create

    Can anyone please help

    Im happy to send document to be reviewed etc
    Last edited by fragle2112; 07-29-2016 at 10:48 AM.

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Im looking to create a button that sends email

    Sub send_wb()
    adr1=[a1] 'emails
    attach$ = ThisWorkbook.FullName ' attach wb
    res = SendEmailUsingOutlook(adr1, "body", "ref", attach$)
    If res Then Debug.Print "send" Else Debug.Print "error"


    End Sub

  3. #3
    Registered User
    Join Date
    09-07-2015
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Im looking to create a button that sends email

    thank you Tim
    I tried adding to the sheet but this is not working

    Can anyone please help
    Last edited by fragle2112; 08-08-2016 at 03:32 AM.

+ 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. macro that sends email
    By rhndrixxxx in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-04-2015, 04:42 PM
  2. HELP! Need help with macro that automatically sends email when...
    By KngCharming in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-28-2013, 01:01 PM
  3. Email loop only sends first email from outlook.
    By vamosj in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 07-16-2013, 04:33 PM
  4. A macro that looks up a email from sheet2 and sends email
    By AdderLee in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-10-2012, 02:24 PM
  5. [SOLVED] Hide row after email sends
    By siray13 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-07-2012, 02:14 PM
  6. Command Button that sends email
    By msbing916 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-25-2009, 12:29 PM
  7. Sends Attachment with Email
    By pcargila in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-06-2008, 09:08 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