Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Run Time Automation Error - Help Needed

I have a macro that has been working great that opens Outlook, attaches an
email and sends it.
However, I have one user that has recently updated their computer and the
macro is now failing.
I get a Run-time error "-2147024770 (8007007e)' Automation Error The
specified module could not be found.
The code stops on the line:
Set OutApp = CreateObject ("Outlook.Application").

Any ideas why this is bombing on this one computer.
They are running Outlook, 2003 SP2 under Windows XP.

I have seen a similiar post here back in April - but no solution. Any helo
greatly appreciated. I know that the antivirus protection was also recently
upgrade to Symantec Antivirus Version 9.

Thanks!

Mark
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 318
Default Run Time Automation Error - Help Needed

Has your Macro worked in any situation where it had to use Outlook 2003 to
send the e-mail. Microsoft has increased the security so that other
applications cannot send e-mail through Outlook 2003. Once I know that this
is infact the case (that is the issue is limited to computers running Outlook
2003) I will tell you the solution.

"Mark Campbell" wrote:

I have a macro that has been working great that opens Outlook, attaches an
email and sends it.
However, I have one user that has recently updated their computer and the
macro is now failing.
I get a Run-time error "-2147024770 (8007007e)' Automation Error The
specified module could not be found.
The code stops on the line:
Set OutApp = CreateObject ("Outlook.Application").

Any ideas why this is bombing on this one computer.
They are running Outlook, 2003 SP2 under Windows XP.

I have seen a similiar post here back in April - but no solution. Any helo
greatly appreciated. I know that the antivirus protection was also recently
upgrade to Symantec Antivirus Version 9.

Thanks!

Mark

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Run Time Automation Error - Help Needed

Yes it has worked with Outlook 2003 up until last week when the virus
protection on the pc was upgraded and service pack 2 installed on the server
at work. The mail at work is managed using microsoft exchange - this has
always worked in the past prior to service pack 2 and the updated virus
protection.

Thanks

Mark

"Alok" wrote:

Has your Macro worked in any situation where it had to use Outlook 2003 to
send the e-mail. Microsoft has increased the security so that other
applications cannot send e-mail through Outlook 2003. Once I know that this
is infact the case (that is the issue is limited to computers running Outlook
2003) I will tell you the solution.

"Mark Campbell" wrote:

I have a macro that has been working great that opens Outlook, attaches an
email and sends it.
However, I have one user that has recently updated their computer and the
macro is now failing.
I get a Run-time error "-2147024770 (8007007e)' Automation Error The
specified module could not be found.
The code stops on the line:
Set OutApp = CreateObject ("Outlook.Application").

Any ideas why this is bombing on this one computer.
They are running Outlook, 2003 SP2 under Windows XP.

I have seen a similiar post here back in April - but no solution. Any helo
greatly appreciated. I know that the antivirus protection was also recently
upgrade to Symantec Antivirus Version 9.

Thanks!

Mark

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 318
Default Run Time Automation Error - Help Needed

Mark,
I am sorry I will not be able to help you then. I had an issue sometimes
back where I was trying to use the Outlook object model to send e-mails but
it would not allow me to do that. Since you have a different problem.. maybe
someone else in the newsgroup can help you.


"Mark Campbell" wrote:

Yes it has worked with Outlook 2003 up until last week when the virus
protection on the pc was upgraded and service pack 2 installed on the server
at work. The mail at work is managed using microsoft exchange - this has
always worked in the past prior to service pack 2 and the updated virus
protection.

Thanks

Mark

"Alok" wrote:

Has your Macro worked in any situation where it had to use Outlook 2003 to
send the e-mail. Microsoft has increased the security so that other
applications cannot send e-mail through Outlook 2003. Once I know that this
is infact the case (that is the issue is limited to computers running Outlook
2003) I will tell you the solution.

"Mark Campbell" wrote:

I have a macro that has been working great that opens Outlook, attaches an
email and sends it.
However, I have one user that has recently updated their computer and the
macro is now failing.
I get a Run-time error "-2147024770 (8007007e)' Automation Error The
specified module could not be found.
The code stops on the line:
Set OutApp = CreateObject ("Outlook.Application").

Any ideas why this is bombing on this one computer.
They are running Outlook, 2003 SP2 under Windows XP.

I have seen a similiar post here back in April - but no solution. Any helo
greatly appreciated. I know that the antivirus protection was also recently
upgrade to Symantec Antivirus Version 9.

Thanks!

Mark

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Run Time Automation Error - Help Needed

The easy way i found is to add a second argument to the function CreateObject
but i don't know what consequences it could have on network use:

Set OutApp = CreateObject ("Outlook.Application", "localhost")

hope it could help u


"Mark Campbell" wrote:

I have a macro that has been working great that opens Outlook, attaches an
email and sends it.
However, I have one user that has recently updated their computer and the
macro is now failing.
I get a Run-time error "-2147024770 (8007007e)' Automation Error The
specified module could not be found.
The code stops on the line:
Set OutApp = CreateObject ("Outlook.Application").

Any ideas why this is bombing on this one computer.
They are running Outlook, 2003 SP2 under Windows XP.

I have seen a similiar post here back in April - but no solution. Any helo
greatly appreciated. I know that the antivirus protection was also recently
upgrade to Symantec Antivirus Version 9.

Thanks!

Mark



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Run Time Automation Error - Help Needed

Emri,

Thanks for your help - worked perfectly.

I still dont understand why my code stopped working or how this fix worked -
thks again for your help

"Mark Campbell" wrote:

I have a macro that has been working great that opens Outlook, attaches an
email and sends it.
However, I have one user that has recently updated their computer and the
macro is now failing.
I get a Run-time error "-2147024770 (8007007e)' Automation Error The
specified module could not be found.
The code stops on the line:
Set OutApp = CreateObject ("Outlook.Application").

Any ideas why this is bombing on this one computer.
They are running Outlook, 2003 SP2 under Windows XP.

I have seen a similiar post here back in April - but no solution. Any helo
greatly appreciated. I know that the antivirus protection was also recently
upgrade to Symantec Antivirus Version 9.

Thanks!

Mark

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
Run-time Automation Error David Excel Programming 3 April 8th 08 03:46 AM
Run-Time Error'-2147221080(800401a8)': Automation Error BEEJAY Excel Programming 1 July 18th 06 03:13 PM
Automation Error help needed funkymonkUK[_172_] Excel Programming 2 May 23rd 06 02:46 PM
Automation Error ... Urgent help needed Alexander.Kom Excel Programming 0 July 14th 05 10:58 AM
Run-time error '430' / Class doesn't support Automation Mike[_59_] Excel Programming 1 October 28th 03 08:57 AM


All times are GMT +1. The time now is 04:02 AM.

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

About Us

"It's about Microsoft Excel"