+ Reply to Thread
Results 1 to 9 of 9

Sending attachment in email using vba

  1. #1
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    882

    Sending attachment in email using vba

    Hi Guys

    I am writing the following piece of code to send an attachement through email using VBA. It works fine. The only thing is my client wants to view it first before sending.

    So the attachement should be in the email and all the recipients name should be in To section of the email outlook window and then the users will press SEND button on email manually to send it.

    Can this be done? Can anyone change the code accrodingly.
    Please Login or Register  to view this content.
    Thanks

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Sending attachment in email using vba

    change send to show
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Forum Expert
    Join Date
    06-25-2009
    Location
    Sofia, Bulgaria, EU
    MS-Off Ver
    Excel 2003-2013
    Posts
    1,290

    Re: Sending attachment in email using vba

    It's in your code, as a comment

    Please Login or Register  to view this content.
    If you are pleased with a member's answer then use the Star icon to rate it.

  4. #4
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Sending attachment in email using vba

    @buran .

  5. #5
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    882

    Re: Sending attachment in email using vba

    Thanks .Display worked fine. Now If I want to send the email to around 10 people then where shall I add email addresses of all of them? Thanks again.

  6. #6
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Sending attachment in email using vba

    Read/learn something aman1234!

  7. #7
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    882

    Re: Sending attachment in email using vba

    If I write .To statement as many times as the email addresses then in the email window only first email address appears.. Any ideas??

  8. #8
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    882

    Re: Sending attachment in email using vba

    Thanks for looking. I resolved it myself using google Nathansav

  9. #9
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Sending attachment in email using vba

    Feel good?

+ 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. sending an Excel worksheet as an xls attachment through email
    By grammadolly9 in forum Excel General
    Replies: 2
    Last Post: 02-15-2013, 03:51 AM
  2. [SOLVED] Write to attachment before sending as email message
    By sharky12345 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-22-2013, 01:14 PM
  3. [SOLVED] Sending email with attachment
    By Nu2Java in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-28-2012, 04:15 PM
  4. Macro to email an attachment sending two copies
    By Authentik8 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-05-2012, 07:44 AM
  5. Sending email attachment(s) from Excel 2007
    By nobleprince in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-28-2010, 12:33 PM

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