+ Reply to Thread
Results 1 to 4 of 4

Create distribution list in Excel (late binding)

  1. #1
    Registered User
    Join Date
    05-07-2013
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    55

    Create distribution list in Excel (late binding)

    Hello,

    I am trying to rewrite this macro so that I do not have to reference the Outlook reference library. From what I have found, i need to change the outlook Dims to Object, but now instead of Excel loading the distribution list window and adding the emails to the list, it only pulls up a blank outlook message window. Not sure what I am doing wrong here. The section below that is in bold is where it is showing a Message window instead of the distribution list window. I have also commented out the original Dims. The reason for the necessary change is that where I am referencing the Outlook 15 library, someone else is using a different version (newer) and every time they save the workbook, it looses the 15 references (Missing Microsoft Outlook 15.0 Object Library)

    Any help would be greatly appreciated.

    Here is the code

    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Create distribution list in Excel (late binding)

    This should get you closer. I couldn't test it though. it's likely not perfect.

    Please Login or Register  to view this content.
    Last edited by AlphaFrog; 03-30-2018 at 02:18 PM.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    05-07-2013
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    55

    Re: Create distribution list in Excel (late binding)

    Thank you AlphaFrog. This worked perfectly!! I really appreciate your help on this.

  4. #4
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Create distribution list in Excel (late binding)

    Really? I'm kinda' surprised. I just eyeballed it and that rarely works 100%.

    Anyways, you're welcome and thanks for the feedback.

+ 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. [SOLVED] Learning differences between Early Binding & Late Binding
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 06-28-2013, 01:16 AM
  2. [SOLVED] Seeking knowledge on Early Binding, Late Binding
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-17-2013, 10:45 PM
  3. Conversion from early binding to late binding
    By bettingman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-10-2011, 04:10 AM
  4. Late Binding of Excel object
    By Snowie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-09-2010, 06:02 AM
  5. Create Class Module using late binding
    By Mariano B. in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-14-2006, 03:25 PM
  6. [SOLVED] Early and Late Binding Vba Excel
    By VJ in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-07-2005, 02:06 PM
  7. [SOLVED] Late Binding examples of binding excel application
    By HeatherO in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 03-17-2005, 01:06 PM
  8. [SOLVED] late binding examples of excel
    By HeatherO in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-14-2005, 05:06 PM

Tags for this Thread

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