Can't load MSOUTL.olb (Outlook Reference Library) in VBA

G

Guest

Hello,

I am getting a "Error Loading DLL" message when I try to load the Outlook
Object Library into Access. The odd thing is that the reference window
displays Outlook Library version 11, but on my computer I am working with
Outlook 10, 2002. I think the computer came with a trial version of 2003
which I uninstalled. I do add in the Outlook 10 reference, which it accepts,
but when I try to run the code I get the "Error Loading DLL" message. So,
how can i get rid of the reference to Outlook11 in my reference list and how
do I replace it with Outlook 10? I think if I could fix this I could
eliminate the Error Loading DLL message

Thanks!
 
G

Guest

Usually when you install a later version of Outlook, it overwrites the older
version. You might have to re-install the 2002 version.

If that does not do the trick, you might try finding the 2003 dll and
unregistering it and then re-registering the 2002 dll.

To do this, click on Start>Run...

Type:
regsvr32.exe "Your full Path to 2003 dll" /u

Press Enter and then do the same for the 2002 dll BUT DO NOT USE THE /u SWITCH
 
G

Guest

Thanks, I tried doing that but it said that it couldn't find the Outlook 11
library (which makes sense since it's not there) but then when I tried to
register the Outlook 10 file it said it does not appear to be a .dll or .ocx
file (which it's not, it has a OLB extension). It's weird because the MSWord
Object Library is working fine, and that is a .olb extension as well.

If I do reinstall Outlook, will it wipe out all my data? I will backup the
outlook.pst file but was hoping it might be smart enough to keep that.

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top