+ Reply to Thread
Results 1 to 4 of 4

sending a worksheet by email using vba

  1. #1
    Registered User
    Join Date
    03-06-2010
    Location
    essex, england
    MS-Off Ver
    Excel 2003
    Posts
    23

    sending a worksheet by email using vba

    Hi all,
    I have a workbook running with multiple sheets and on 1 sheet (called purchasing)
    i need to be able to send it using outlook based on an email address i have in a cell

    lets say cell a1 contains an address [email protected]
    i want to press a button and send the sheet to that e mail address
    i would like to be able to add a subject and message body text also
    i have tried other examples that saved a copy of that sheet to a new workbook, sent it then close it without saving, but there was always a box that opened saying "warning an application is tyring to send mail blah blah blah" then you have to click yes to send the mail
    it would be nice if possible if i could bypass this

    any help would be greatly recieved
    Last edited by '''your code here; 03-13-2010 at 08:14 PM.

  2. #2
    Registered User
    Join Date
    12-30-2009
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: sending a worksheet by email using vba

    Try the following website, I came across it when trying to do something similar.

    http://www.rondebruin.nl/sendmail.htm

  3. #3
    Registered User
    Join Date
    03-06-2010
    Location
    essex, england
    MS-Off Ver
    Excel 2003
    Posts
    23

    Re: sending a worksheet by email using vba

    that worked great i used the code edited a few parts and got the result i needed , thanks

  4. #4
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243

    Re: sending a worksheet by email using vba

    Hi,

    If you are happy, can you please mark the Thread as Solved (see Rules for instructions)?

    Thanks
    Rob
    Rob Brockett
    Kiwi in the UK
    Always learning & the best way to learn is to experience...

+ 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