Set itm = doc.MailEnvelope.Item

  • Thread starter Thread starter Marlene.Sawhney
  • Start date Start date
M

Marlene.Sawhney

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!
 
And where is this code running? Is this a Word macro or an Outlook macro?

Why even have the first line setting itm if you don't use it?

Are you still running WordMail? Any other changes to your system?

A better place for programming questions is one of the programming groups
such as microsoft.public.outlook.program_vba.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top