Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 119
Default _MailEnvelope still won't work...

I'm going to re-open this thread fresh...

Replaced an ailing machine with a new one. Installed fresh Windows XP
(2002) SP3 and Office 2003 SP3. Version numbers of Office apps all
match on the machine, and match everyone else's machine, all of them
ending in .8221.

When attempting to sent mail from an Excel VBA script, this line fails
on the new machine...

With ActiveSheet.MailEnvelope.Item

this exact same line, in the same workbook, works fine on every other
machine.

I have tried Windows Update and Detect and Repair, neither had any
effect.

Any ideas? I believe MailEnvelope relies on a COM object
(MSOEnvelope?) Can I check to see if this is properly installed?
Anything else I should look for?

Maury
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default _MailEnvelope still won't work...

Hi Maury

Be sure that Outlook is your default mail program
Have you check the register settings on your machine ?

See
http://www.rondebruin.nl/mail/problems.htm


--

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


"Maury Markowitz" wrote in message
...
I'm going to re-open this thread fresh...

Replaced an ailing machine with a new one. Installed fresh Windows XP
(2002) SP3 and Office 2003 SP3. Version numbers of Office apps all
match on the machine, and match everyone else's machine, all of them
ending in .8221.

When attempting to sent mail from an Excel VBA script, this line fails
on the new machine...

With ActiveSheet.MailEnvelope.Item

this exact same line, in the same workbook, works fine on every other
machine.

I have tried Windows Update and Detect and Repair, neither had any
effect.

Any ideas? I believe MailEnvelope relies on a COM object
(MSOEnvelope?) Can I check to see if this is properly installed?
Anything else I should look for?

Maury


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 119
Default _MailEnvelope still won't work...

Be sure that Outlook is your default mail program
Have you check the register settings on your machine ?


Both are set correctly.

Following other leads on your page revealed that selecting Send to...
from inside Excel results in "Excel could not start the e-mail
program".

However, every page on this error, including MS's, claims this only
happens in Excel 2002. I am using Excel 2003 SP3.

Any ideas? The HTML conversion doesn't work well in this case.

Maury
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default _MailEnvelope still won't work...


I not say that this
The Outlook version and the Office version must be the same to send in the body of the mail.


I read that you have uninstalled the 2007 test version on that machine and it is working now ?

--

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


"Maury Markowitz" wrote in message
...
Be sure that Outlook is your default mail program
Have you check the register settings on your machine ?


Both are set correctly.

Following other leads on your page revealed that selecting Send to...
from inside Excel results in "Excel could not start the e-mail
program".

However, every page on this error, including MS's, claims this only
happens in Excel 2002. I am using Excel 2003 SP3.

Any ideas? The HTML conversion doesn't work well in this case.

Maury


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 119
Default _MailEnvelope still won't work...

Yes, like a champ. It's not Office 2007, but Office 2007 Primary
Interop. In spite of un-installing Office itself, this code is left
behind. They filed a report, the KB article will likely be updated
shortly.

I got my first KB! :-)

Maury
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
how can i automatically generate work order numbers from work orde rob h Excel Discussion (Misc queries) 1 July 13th 09 07:59 PM
Method _MailEnvelope failed Maury Markowitz[_2_] Excel Programming 6 February 9th 09 06:24 PM
HOW TO MAKE A LIST OF WORK SHEET IN WORK BOOK IN EXCEL 2007 goutam Excel Programming 1 February 1st 08 07:40 AM
If I have a work sheet protected and try to run a macro to hide rows or columns it won't work. Correct? Marc Excel Programming 2 July 12th 06 04:10 AM
Is there away to keep "auto save" from jumping to the first work sheet in the work book? Marc New Users to Excel 2 April 21st 05 01:27 AM


All times are GMT +1. The time now is 04:12 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"