+ Reply to Thread
Results 1 to 3 of 3

Reference issue with Outlook

  1. #1
    Registered User
    Join Date
    11-21-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    10

    Reference issue with Outlook

    Hello All,

    Does anyone know of a way to update the References to MS Outlook on a VBA Project upon open?

    The issue I'm getting is a workbook currently uses MS Outlook to send an email at the end of a procedure, but when a user is on a pc with a different version of MS Outlook (10, the vb script errors when opening and complains about a "Missing MS Outlook Library".

    I know it's easy enough to uncheck the Missing Library and check the required one manually - but my users are not that technical and I'd like to handle this error automatically (if its possible?).

    Any help would be greatly appreciated.

    P.s - I've even tried coding using Late binding - (see below), but I still get the same error (code works perfectly once the correct reference is checked)...!?

    Thanks in advance.
    Kurt


    Please Login or Register  to view this content.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,645

    Re: Reference issue with Outlook

    Kurt

    Did you uncheck the Outlook reference when you tried the late-bound code?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    11-21-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Reference issue with Outlook

    Norie,

    Thanks - That's exactly what it was

    As easy as that (I couldn't see the wood through the trees......!)

    Thank you very much.

+ 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. exporting issue with outlook body in excel.
    By akulka58 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-01-2013, 02:26 PM
  2. Facing issue with outlook 2010 Birthday email
    By akulka58 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-25-2013, 07:01 AM
  3. Microsoft Outlook printing issue
    By jeskit in forum Outlook Formatting & Functions
    Replies: 0
    Last Post: 10-13-2011, 10:38 AM
  4. Remove missing reference, update outlook reference
    By Snoopy2003 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-29-2011, 08:35 PM
  5. outlook 2003 view issue
    By coolhit in forum Outlook Formatting & Functions
    Replies: 2
    Last Post: 04-12-2011, 05:47 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