Results 1 to 2 of 2
Thread: dll not found
2009-11-09, 04:03 #1
- Join Date
- Jan 2004
- 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?????
2009-11-09, 04:21 #2
- Join Date
- Mar 2002
- Thanked 28 Times in 28 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.