Hi, The following subroutine will do that:
Sub GetReportCount() On Error GoTo getMail_err Dim ns As Namespace Dim Inbox As MAPIFolder Dim Item As Object Dim Atmt As Attachment Dim FileName As String Dim i As Integer Set ns = GetNamespace("MAPI") Set Inbox = ns.GetDefaultFolder(olFolderInbox) i = 0 If Inbox.Items.Count = 0 Then MsgBox "There are no messages in the Inbox.", vbInformation, _ "Nothing Found" Exit Sub End If For Each Item In Inbox.Items For Each Atmt In Item.Attachments FileName = "C:\Email Attachments\" & Atmt.FileName 'Atmt.SaveAsFile FileName i = i + 1 Next Atmt Next Item MsgBox "I saved " & i & " attachments", vbOKOnly 'Error Handling goes here getMail_err: GetAttachments_exit: Set Atmt = Nothing Set Item = Nothing Set ns = Nothing End Sub Insert a module in VBA editor and paste this. Then you can attach it to a command button. Hope that helps, Anand Kumar On Feb 16, 8:24 pm, "B.N.Chethan Kumar" <chetankumar1...@gmail.com> wrote: > Dear friends, > > Need a help. I need to import email information into excel need following > information from Outlook express. > > email received: - > > Sender Name or Email ID > Sender time: > Subject: > > Email responded: > > Responded name or email id > Responded time > Subject: > > -- > B.N Chetan kumar -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com