Hi Steven,
My machine not have Outlook now, but please try to use 0 instead of
olMailItem.
olMailItem is a constant of Outlook, so I think in the Late Binding,
Excel cannot understand what is olMailItem.
Code:
--------------------
Set olMail = olApp.CreateItem(0)
--------------------
And to use MAPI(Messaging Application Program Interface), we need to
get NameSpace object.
To handle email application, we need to use MAPI. :D
---
Message posted from
http://www.ExcelForum.com/