Outlook updating inbox long time
If I understand the question correctly, an interesting email will have . Item(Inx Item Crnt) ' A folder can contain several types of item: mail items, meeting items, ' contacts, etc.
The comments provide no help in extracting data from interesting emails but the worksheet shows both the text and html versions of the email body if they are present.
For this question Siddarth has provided an excellent, succinct answer and then a follow-up to help with the next stage. Display Name Attach Dtl(5, Inx Attach) = "--" ' I suspect Attachment had a parent property in early versions ' of Outlook. All 50-60 mails coming to my inbox will have same subject but from different users. Also you don't need to move the email to the folder first and then run the macro in that folder. You can run the macro on the incoming mail and then move it to the folder at the same time. I have commented the code so that you will not face any problem understanding it. Name End Sub On my installation, this outputs: "Outlook Data File". Is it the sender, the subject, a string within the body or all of these? The comments provide some help in eliminating uninteresting emails. Class = ol Mail Then ' Save selected properties to variables Received Time = .