ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Set itm = doc.MailEnvelope.Item Error (https://www.excelbanter.com/excel-programming/388868-set-itm-%3D-doc-mailenvelope-item-error.html)

[email protected]

Set itm = doc.MailEnvelope.Item Error
 
Hello Everyone,

I'm getting a runtime error that says: Run-Time error '-2147467259.
Method 'Mailenveloe' of object_document failed


I have read every posting about this and still can't seem to figure
it
out. Whats wierd is that i've been using this macro for months and
all of a sudden this week it doesn't work! Any ideas on whats wrong?
The following is the code I'm using. Any help would be great as this
macro sends out about 100 emails. Also, outlook is my default
program.


Set itm = doc.MailEnvelope.Item
doc.MailEnvelope.Introduction = ActiveCell.Offset(0, 4).Value


THANKS!


Pops Jackson

Set itm = doc.MailEnvelope.Item Error
 
checked your References to see if anything has changed there?
("Tools\References")
--
Pops Jackson


" wrote:

Hello Everyone,

I'm getting a runtime error that says: Run-Time error '-2147467259.
Method 'Mailenveloe' of object_document failed


I have read every posting about this and still can't seem to figure
it
out. Whats wierd is that i've been using this macro for months and
all of a sudden this week it doesn't work! Any ideas on whats wrong?
The following is the code I'm using. Any help would be great as this
macro sends out about 100 emails. Also, outlook is my default
program.


Set itm = doc.MailEnvelope.Item
doc.MailEnvelope.Introduction = ActiveCell.Offset(0, 4).Value


THANKS!




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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com