![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
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! |
#2
|
|||
|
|||
![]()
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. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm wrote in message ups.com... 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! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Item.Save and Item.Close Script causes Outlook 2007 to Crash | Rayyan | Outlook - Using Forms | 6 | November 25th 06 04:14 AM |
Changing Default Font with MailEnvelope Introduction | jrisch | Outlook and VBA | 1 | July 18th 06 08:30 PM |
How to change an item from a recurring Appointment item to an exception from VB code? | Dikbill | Outlook and VBA | 2 | July 13th 06 09:45 AM |
Edit MailEnvelope.Item Before .Send | Jeff C | Outlook and VBA | 11 | June 21st 06 04:06 PM |
Using MailEnvelope | Ridge Kennedy | Outlook and VBA | 4 | April 13th 06 10:53 PM |