+ Reply to Thread
Results 1 to 2 of 2

How can I make Excel ready to send emails within the workbook?

  1. #1
    Forum Contributor rkjudy's Avatar
    Join Date
    03-31-2009
    Location
    Longview, TX
    MS-Off Ver
    MS Office 2010
    Posts
    239

    How can I make Excel ready to send emails within the workbook?

    I have a workbook that will email a particular sheet. I am a novice so I just looked for examples to make this work. The problem I'm having is setting the reference to activate the correct Microsoft Outlook Object Library at WorkBook Open. I have users running 2010 and 2013. The code for actually sending the sheet is okay i think, but the MS Outlook Object Library reference shows missing so they can't use the function. I, personally, am running 2013, and MS Outlook Object Library 15.0 is checked in my references. I'm really not sure why it works on my machine and not others. I use a WorkBook Open module to load the reference. I've been told I should use Late Binding, but I simply don't know how to do that. I just hope I'm explaining my problem properly. The WorkBook Open code is below. Any suggestions?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: How can I make Excel ready to send emails within the workbook?

    Good evening rkjudy

    I personally am not a big fan of using Excel to send out e-mails, but I seem to remember doing so in the dim and distant past and running into similar problems.
    The crux of the matter is an issue of early vs late binding, and there are different methods of sending mail from within Excel, and some require a reference be checked (which can cause compatability issues - as you are finding) and some don't.

    I would suggest checking Ron de Bruin's site which lists many different ways of e-mailing from within Excel and discusses the early vs late argument with suggestions on how to get around it.

    HTH

    DominicB

+ 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. Send Emails once expiry date is reached, and generate report based on emails sent
    By demonicscorpion in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-18-2014, 05:36 AM
  2. [SOLVED] Macro To Send Emails with PDF: Multiple Emails and PDF's
    By totoga12 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 03-19-2014, 06:13 PM
  3. Send outlook emails with message in cells to individual emails associated with them
    By abinayan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-21-2011, 06:11 AM
  4. Sending macro emails using excel: Send emails with their passwords.
    By loveisblind in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-12-2009, 03:16 PM
  5. [SOLVED] Can Excel send out emails?
    By Robert Hodge in forum Excel General
    Replies: 1
    Last Post: 01-10-2006, 06:15 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