NULL your object reference.
oMyOutlook = NewObject("Outlook.Application")
** Do your thing here **
oMyOutlook = NULL
HTH,
Kevin
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of George
Sent: Monday, November 06, 2006 9:34 AM
To: [email protected]
Subject: HowTo Close Outlook after CREATEOBJECT("Outlook.Application")
How can I close Outlook programatically after is was opened with
CREATEOBJECT("Outlook.Application")?
TIA
George
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.