Access - Outlook automation error

A

Arvin Meyer

You will need to set a reference to Outlook in order to use this code. Go to
Tools ... References in the code window and find one for:

Microsoft Outlook <your version> Object Library

and check it, then compile the code (in the Debug menu). Everything should
now work fine.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access Downloads
http://www.datastrat.com
http://www.mvps.org/access
 
G

Guest

Hi.
I followed the automation procedure in
http://support.microsoft.com/default.aspx?scid=kb;en-us;2003 but get stock on:

You need to set a Reference to the Outlook Object Library before this code
will work. To set the Reference, open the VB Editor and select the Tools
menu -> References... to open the References dialog window. Browse to the
Microsoft Outlook <version#> Object Library and check the box, then close the
dialog window.

HTH.

Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.

(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)
Beware to those who use munged addresses: known newsgroup E-mail harvesters
for spammers are (e-mail address removed) and (e-mail address removed)

- - -
When you see correct answers to your question posted in Microsoft's Online
Community, please sign in to the Community and mark these posts as "Answers,"
so that all may benefit by filtering on "Answered questions" and quickly
finding the right answers to similar questions. Remember that questions
answered the quickest are often from those who have a history of rewarding
the contributors who have taken the time to answer questions correctly.
 
6

'69 Camaro

.... and don't forget to compile the code afterwards.

Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.

(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)
Beware to those who use munged addresses: known newsgroup E-mail harvesters
for spammers are (e-mail address removed) and (e-mail address removed)
 

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