Selasa, 20 Maret 2012

[MS_AccessPros] Re: Outlook Error

 

Mike

using CreateObject should work even if Outlook is not open. It should only error out if Outlook is not installed.

Care to share the entire routine? maybe something else needs fixing.

Regards,
Bill Mosca, Founder - MS_Access_Professionals
http://www.thatlldoit.com
Microsoft Office Access MVP
https://mvp.support.microsoft.com/profile/Bill.Mosca

--- In MS_Access_Professionals@yahoogroups.com, mithomas48 <no_reply@...> wrote:
>
> When sending an email, I noticed that even though I use a line to create an instance of Outlook, I get an Application or Object defined error if I DO NOT physically have Outlook open. Below is the syntax being used to create the instance of Outlook. Shouldn't we be able to create the object and send the email even if Outlook is not opened?
>
>
> Set olApp = CreateObject("Outlook.Application")
>
> Thanks in advance!
> Mike
>

__._,_.___
Recent Activity:
.

__,_._,___

Tidak ada komentar:

Posting Komentar