By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,473 Members | 3,234 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,473 IT Pros & Developers. It's quick & easy.

Problem with Outlook Automation

P: n/a
I have some code I use to create a mail message in Outlook 2003 from Access
as follows:

Dim objOutlook As Outlook.Application
Set objOutlook = New Outlook.Application
etc....

The code works fine everywhere except on one computer. On that computer, the
user gets Error -2147024770: "Automation error. The specified module could
not be found." at the Set objOutlook line.

I did some searching online, and I found that most of the time when people
got that message, it was because a DLL wasn't registered. So I looked up the
reference (in Access 2003) to "Microsoft Outlook 11.0 Object Library," and
it referred to msoutl.olb. However, that OLB file can't be registered,
because it's not an OCX or DLL.

So, any thoughts about what needs to be done here?

Thanks!

Neil
Jan 1 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Mon, 01 Jan 2007 02:58:36 GMT, "Neil" <no****@nospam.netwrote:

Standard answer: spend a few more hours trying to find leads and
chasing them down. After that, it becomes cheaper to rebuild the
machine. The first step in that direction should be to uninstall and
reinstall Outlook.

-Tom.

>I have some code I use to create a mail message in Outlook 2003 from Access
as follows:

Dim objOutlook As Outlook.Application
Set objOutlook = New Outlook.Application
etc....

The code works fine everywhere except on one computer. On that computer, the
user gets Error -2147024770: "Automation error. The specified module could
not be found." at the Set objOutlook line.

I did some searching online, and I found that most of the time when people
got that message, it was because a DLL wasn't registered. So I looked up the
reference (in Access 2003) to "Microsoft Outlook 11.0 Object Library," and
it referred to msoutl.olb. However, that OLB file can't be registered,
because it's not an OCX or DLL.

So, any thoughts about what needs to be done here?

Thanks!

Neil
Jan 3 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.