Detect which attachment Item(s) is selected in an email

A

a3kumarz

In an open mailitem, I am trying to detect which attachment(s) are selected.
Is there any way to do this? Am currently trying in Outlook 2007.
 
K

Ken Slovak - [MVP - Outlook]

Look at the AttachmentSelection collection and review the Object Browser
Help on that collection, it's the only way to do what you want. It does rely
on a context menu operation however.
 
A

a3kumarz

I got the selected attachment in Outlook 2007 using the context menu. Thank
you for the help.
Is there something that we can use in lower version of Outlook (specially in
Outlook 2003) to get the selected attachment on an open email?
 

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

Top