![]() |
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
|
|||
|
|||
![]()
Outlook 2K3/Exchange
I'm developping a macro to remove all embedded images from my company's mail templates, but although the templates actually contains images, the attachments collection remain empty at runtime. And the part that drive me crazy: in debug mode, the collection is empty (Count=0, etc) until I expand manually the "attachments" node of my mailitem object in the "Locals" window, then the collection is populated. The embbeded images are of type olOLE and there is no other attachment in the templates. Is that a bug or am i missing something ? |
Ads |
#2
|
|||
|
|||
![]()
Show the code you use.
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "chauwel" wrote in message ... Outlook 2K3/Exchange I'm developping a macro to remove all embedded images from my company's templates, but although the templates actually contains images, the attachments collection remain empty at runtime. And the part that drive me crazy: in debug mode, the collection is empty (Count=0, etc) until I expand manually the "attachments" node of my mailitem object in the "Locals" window, then the collection is populated. The embbeded images are of type olOLE and there is no other attachment in the templates. Is that a bug or am i missing something ? |
#3
|
|||
|
|||
![]()
Also, please explain just what you mean by "mail templates." That could be a
couple of different things in an Outlook context. And it might be helpful to know why you're doing this -- doesn't that render the templates less useful? -- and whether Word is your email editor. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Ken Slovak - [MVP - Outlook]" wrote in message ... Show the code you use. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "chauwel" wrote in message ... Outlook 2K3/Exchange I'm developping a macro to remove all embedded images from my company's templates, but although the templates actually contains images, the attachments collection remain empty at runtime. And the part that drive me crazy: in debug mode, the collection is empty (Count=0, etc) until I expand manually the "attachments" node of my mailitem object in the "Locals" window, then the collection is populated. The embbeded images are of type olOLE and there is no other attachment in the templates. Is that a bug or am i missing something ? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Links Collection | Michele | Outlook and VBA | 2 | January 12th 09 06:45 PM |
how to delete a collection of e-mails | john christy | Outlook - General Queries | 2 | December 9th 08 03:24 PM |
Data Collection Add-in Error | jz | Outlook - Installation | 0 | October 24th 08 05:35 PM |
Outlook 'Conflicts' collection | David Tongeman | Outlook and VBA | 1 | July 12th 07 09:17 PM |
how to use the CommandBars Collection | Jim B | Outlook - Using Forms | 0 | January 22nd 06 12:46 AM |