Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Problem with sending messages

Do you have Outlook on your machine ?

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Adam" wrote in message ...
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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 287
Default Problem with sending messages

Yes, I do. The code worked perfectly with 97/2003 version but
now I have got the problem I described below
(it does not work neither with outlook open nor with outlook closed)

Adam

"Ron de Bruin" wrote:

Do you have Outlook on your machine ?

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Adam" wrote in message ...
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


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Problem with sending messages

Try this first in Excel

Run Office Diagnostics.
Office ButtonExcel Options...Resources



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Adam" wrote in message ...
Yes, I do. The code worked perfectly with 97/2003 version but
now I have got the problem I described below
(it does not work neither with outlook open nor with outlook closed)

Adam

"Ron de Bruin" wrote:

Do you have Outlook on your machine ?

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Adam" wrote in message ...
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


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 287
Default Problem with sending messages

Wow, it works! I ran it and it fixed an installation problem.
The code works now, as it used to.
A big thanks!

Adam

"Ron de Bruin" wrote:

Try this first in Excel

Run Office Diagnostics.
Office ButtonExcel Options...Resources



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Adam" wrote in message ...
Yes, I do. The code worked perfectly with 97/2003 version but
now I have got the problem I described below
(it does not work neither with outlook open nor with outlook closed)

Adam

"Ron de Bruin" wrote:

Do you have Outlook on your machine ?

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Adam" wrote in message ...
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





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro problem: Won't send messages Gina_28 via OfficeKB.com Excel Programming 15 October 15th 08 06:39 PM
sending email without outlook messages JNW Excel Programming 4 December 19th 05 06:02 PM
Sending email from Excel vba problem PaulC Excel Programming 6 July 17th 05 01:13 PM
Sending Text Messages with Excel??? sh0t2bts Excel Worksheet Functions 0 November 4th 04 10:35 PM
Sending messages Ron de Bruin Excel Programming 0 September 21st 03 08:43 AM


All times are GMT +1. The time now is 10:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"