+ Reply to Thread
Results 1 to 3 of 3

Including the Outlook Reference Library: Errors on other computers

  1. #1
    Forum Contributor
    Join Date
    03-05-2007
    Location
    Falmouth, VA now, Palm Bay, FL for 2 yrs, was Colorado Springs, CO for ten years; Cedark Park, TX; Zeeland, MI; Wilmette, IL; Princeton Junction, NJ; NY, NY
    MS-Off Ver
    365
    Posts
    583

    Including the Outlook Reference Library: Errors on other computers

    Greetings from Colorado Springs where once again we appear to be getting snow dumped on us!

    It was my understanding that when I included the Microsoft Outlook (nn.nn) reference library in the code I wrote, the resources would travel with the code.

    I am working with Excel 2016.

    When I linked in the MS Outlook 16.0 reference library (in order to use some Outlook automation), the other two people trying to run the workbook, who are using Excel 2007, get errors.

    I suspect my fundamental problem is that the MS Outlook resource linked is 16 and I likely need something like, well..., 07, but I am shooting in the dark with that one.

    In this case I am attempting to create tasks/appointments/reminders in Outlook from Excel.

    How can I build code using 2016 linking to Outlook library that will run on Office 2007?

    As always, all of your help is much appreciated!

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

    Re: Including the Outlook Reference Library: Errors on other computers

    The problem really is that you reference higher version than they have on their computer. One way to solve the issue is to make the reference on older version and then distribute this file (i.e. there will be no problem on higher versions).
    Another way is to use late-binding, instead of early-binding (that is what you do now). You can read here for example
    If you are pleased with a member's answer then use the Star icon to rate it.

  3. #3
    Forum Contributor
    Join Date
    03-05-2007
    Location
    Falmouth, VA now, Palm Bay, FL for 2 yrs, was Colorado Springs, CO for ten years; Cedark Park, TX; Zeeland, MI; Wilmette, IL; Princeton Junction, NJ; NY, NY
    MS-Off Ver
    365
    Posts
    583

    Re: Including the Outlook Reference Library: Errors on other computers

    Much appreciated!

+ 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. How can I reference Microsoft Outlook 15.0 Object Library?
    By rkjudy in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-11-2019, 06:25 AM
  2. [SOLVED] Object not available + can't find project or library errors
    By iswehr in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-25-2015, 09:32 AM
  3. Excel won't allow me to add reference to Microsoft outlook object library
    By Skyla157 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-19-2013, 07:38 PM
  4. Complexity of synchronizing two instances of Outlook on different computers
    By 6StringJazzer in forum Outlook Programming / VBA / Macros
    Replies: 0
    Last Post: 11-07-2010, 11:28 AM
  5. DGET errors when transfering computers
    By koval.andrey in forum Excel General
    Replies: 3
    Last Post: 10-13-2009, 11:12 AM
  6. Outlook 11.0 Library
    By Bret in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-03-2006, 01:00 AM
  7. [SOLVED] Re: Outlook 11 > Outlook 10 Object Library Compatibility Issues
    By DW in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-18-2006, 11:35 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