Results 1 to 2 of 2

Thread: dll not found

  1. #1
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have write a code refering Outlook reference in Office 2007.
    But when i use the same application on Excel 2003 the code go in error...
    In effect in the reference window of Excel Vba 2003 i have "manca Outlook 12" (not found Outlok 12).
    When i set the otlook 11 all work fine...
    How to skip this error???
    Is possible to autoconfigue the dll of Outlook on ech machine with different version of Office?????

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    One solution is to edit the workbook and to set the reference in the oldest version of MS Office that you want to support. For example, if you have some users that have Office 2000, edit the workbook in Excel 2000 and set a reference to the Microsoft Outlook 9.0 Object Library. Then save the workbook.
    If users with a newer version of MS Office open the workbook, the reference will be updated automatically.

    Another option is to use late binding instead of early binding. You won't need a reference to the Microsoft Office n.0 Object Library. See Cant perform requested operation.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •