+ Reply to Thread
Results 1 to 4 of 4

Sending Email from Excel VBA

  1. #1
    Forum Contributor
    Join Date
    09-18-2014
    Location
    Pakistan
    MS-Off Ver
    2013, 2016
    Posts
    283

    Sending Email from Excel VBA

    Hi Experts!

    I am using the following code send email from Excel. But this do not show any error. But not sending an email.
    Please Login or Register  to view this content.
    Please give me a solution.

    I shall be very thankful to you.

    Regards
    Amir
    Don't wait for the PERFECT MOMENT
    take the moment and make it PERFECT
    Amir

  2. #2
    Registered User
    Join Date
    11-01-2012
    Location
    Cairo, Egypt
    MS-Off Ver
    MS Office 2013
    Posts
    76

    Re: Sending Email from Excel VBA

    It is a good idea to use Outlook to send e-mails while working with workbooks ..
    Try out the next code ...

    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Sending Email from Excel VBA

    Please Login or Register  to view this content.
    you have no username or password set?

    here is more reading for CDO
    http://www.rondebruin.nl/win/s1/cdo.htm
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Sending Email from Excel VBA

    also bare in mind you may need to change configuration of Gmail

    here is a previous thread using CDO gmail
    http://www.excelforum.com/excel-prog...l-program.html

+ 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. Replies: 4
    Last Post: 01-30-2016, 02:13 PM
  2. Replies: 0
    Last Post: 11-24-2015, 03:29 AM
  3. olMail - Email Attachment Variable. Sending Email through Excel
    By ShakJames in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-23-2014, 07:55 AM
  4. olMail - Email Attachment Variable. Sending Email through Excel
    By ShakJames in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-23-2014, 07:41 AM
  5. Sending an email with excel
    By msche09 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-09-2014, 07:34 PM
  6. Sending HTML email via excel VBA - arriving as RTF email
    By Shuter1 in forum Outlook Programming / VBA / Macros
    Replies: 3
    Last Post: 06-21-2012, 04:35 AM
  7. Sending an email from Excel to multiple email addresses
    By insanity66 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-14-2009, 02:01 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