[AccessD] Code to detect if Outlook is open

Andy Lacey andy at minstersystems.co.uk
Mon Mar 7 07:52:43 CST 2005


Hi Doris
I can't test it in A2003 but this works in earlier versions

Dim objOutlook As Outlook.Application

On Error GoTo Err_NoOutlook
Set objOutlook = GetObject(, "Outlook.Application")


If it errors then Outlook's not running.

Any use?

--
Andy Lacey
http://www.minstersystems.co.uk



--------- Original Message --------
From: Access Developers discussion and problem solving
<accessd at databaseadvisors.com>
To: 'Access Developers discussion and problem solving'
<accessd at databaseadvisors.com>
Subject: [AccessD] Code to detect if Outlook is open
Date: 07/03/05 14:33

>
> Does anyone have any code to detect if Outlook is open that works in
> Access2003?
>
> Doris Manning
> Database Administrator
> Hargrove Inc.
> www.hargroveinc.com
>
>
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>
>
>
>
>

________________________________________________
Message sent using UebiMiau 2.7.2




More information about the AccessD mailing list