Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / September 2005

Tip: Looking for answers? Try searching our database.

Attachment count?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dennis Brown - 14 Sep 2005 20:06 GMT
Hi,
When I get the attachments collection count, it gives me the total number of attachments in the attachment field, and the attachments within the message body (i.e. link graphics (.gif files), etc.).
Any way to determine the count within the attachment field-only?
For example, it might say there are 3 attachments, but only one is in the attachment field, and the other two are link graphics or signature graphics.
I tried using Type, but they all return as the same type.
Any help would be greatly appreciated!

Signature

Thanks,
Dennis

Eric Legault [MVP - Outlook] - 14 Sep 2005 21:01 GMT
You'll have to use CDO and look at the PR_ATTACH_FILENAME property in the
Attachment.Fields collection.  The value will be empty for the embedded
images.

Signature

Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.)
Try Picture Attachments Wizard - http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/

> Hi,
> When I get the attachments collection count, it gives me the total number of attachments in the attachment field, and the attachments within the message body (i.e. link graphics (.gif files), etc.).
> Any way to determine the count within the attachment field-only?
> For example, it might say there are 3 attachments, but only one is in the attachment field, and the other two are link graphics or signature graphics.
> I tried using Type, but they all return as the same type.
> Any help would be greatly appreciated!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.