View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Adam Adam is offline
external usenet poster
 
Posts: 287
Default Problem with sending messages

Hi,

I am using the following statement to activate outlook to be able to send a
few messages:

Dim outapp As Object
Set outapp = CreateObject("Outlook.Application")
outapp.Session.Logon

In the second line I get an error message "Activex cannot creat object".
How can I solve it? I use Office2007.

Regards,

Adam