LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 119
Default Method _MailEnvelope failed

I recently upgraded one of our machines that was becoming increasingly
flaky. The machine runs a complex series of Excel macros at the end of
the day and sends out a bunch of worksheets in mail. The code uses...

With ActiveSheet.MailEnvelope.Item
.Recipients.Add "someone"
.Subject = "New entries and changes for " & Format(datetrade,
"mmm-dd-yyyy")
.Send
End With

This code has worked fine on the old machine, as well as most of the
other machines in the office. However, it does not work on the new
one, and instead reports a "Method _MailEnvelope failed".

1) Everyone is running Office 2003 SP3, versions are all equal
2) I have included a Reference to Outlook (even though I never had to
before)

I noticed a couple of comments on this problem that suggested that
Outlook had to be the default program. To test this I went to a web
page that had a mailto and clicked -- Word came up! This might be the
problem, how do I fix this?

Maury
 
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
Method "Method 'Open' of object 'Workbooks' failed [email protected] Excel Programming 2 June 2nd 10 05:28 PM
copy method failed SteveDB1 Excel Programming 12 September 3rd 08 03:24 PM
Method range failed davegb[_2_] Excel Programming 13 April 26th 08 01:12 AM
Copy method failed Daniel Bonallack Excel Programming 2 October 14th 05 05:24 AM
Copypicture method failed Kamal[_5_] Excel Programming 2 April 22nd 04 11:31 AM


All times are GMT +1. The time now is 03:56 PM.

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"