Hi Ashish,
Thanks for the reply, I have used the below code to get the selected mails
in the excel as icons. Please check it out and give any suggestion if we
can make it better
Sub Macro1()
'
' Macro1 Macro
'
Dim path As String
Dim lf As New Collection
'Dim ab As String
ab = Application.GetOpenF
can u share the sample file
Also visit
http://msdn.microsoft.com/en-us/library/office/aa174259(v=office.11).aspx
http://www.java2s.com/Code/VBA-Excel-Access-Word/Data-Type/CreatingCompoundDocumentsProgrammaticallyUsingOleObjects.htm
http://vba2008.wordpress.com/2008/10/17/adding-an-ole-object-com