+ Reply to Thread
Results 1 to 9 of 9

get a workbook in excel to email out through gmail not outlook

  1. #1
    Registered User
    Join Date
    05-25-2008
    Posts
    21

    get a workbook in excel to email out through gmail not outlook

    Attached is a workbook with my problem. Iam trying to get a workbook in excel to email out through gmail not outlook. Keep getting run time error, The "SendUsing" configuration value is invaild. Any Ideas?
    Thanks
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    05-25-2008
    Posts
    21
    Can any help out on this one? Is it even possible?
    Thanks

    Please Login or Register  to view this content.

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello emussynski,

    I have never been able to send emails through Gmail using CDO. I think is because Gmail requires a secure log on before you can access the SMTP portal.

    Sincerely,
    Leith Ross

  4. #4
    Registered User
    Join Date
    05-25-2008
    Posts
    21
    what about yahoo or other web based emails?

  5. #5
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello emussynski,

    Since Gmail is my primary email, I have never tried connecting to other sites like Yahoo! etc. My advice is to just try it. If you have problems connecting then post back and we can investigate this further.

    Sincerely,
    Leith Ross

  6. #6
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello ,

    I found this updated code to send emails using CDO to Gmail. I belive this is from Ron De Bruin. Fill in your user name, password, and recipient (To line) where required. They are marked in red.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

  7. #7
    Registered User
    Join Date
    05-25-2008
    Posts
    21
    thank you, that worked with mix and matching the code I had and the code you sent I was able to email out through gmail and attach the workbook.

    Thanks again!

  8. #8
    Registered User
    Join Date
    06-15-2016
    Location
    usa
    MS-Off Ver
    2013
    Posts
    2

    Re: get a workbook in excel to email out through gmail not outlook

    What is the code to attach an active sheet using gmail? I have Microsoft office version 2013.
    Last edited by cturpin; 06-20-2016 at 11:23 AM.

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: get a workbook in excel to email out through gmail not outlook

    cturpin welcome to the forum

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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