Kamram was looking for a way to create a log file of messages and their attachments. While you can simply select all messages in a folder and copy to Excel, this won't include the attachment names. Fortunately, picking up the attachment names and creating a new message or sending the data to Excel is not
Create Outlook email messages using data contained in an Excel workbook OR CSV file.
How to use an Outlook macro to move messages to a new folder or mailbox or to assign categories to the message round-robin style.
How to create a new Outlook meeting with a selected contact. Includes a macro to include the contact's address in the Location field.
After importing IMAP folders to Personal Folders or an Exchange mailbox, messages in the imported folder are hidden.
How to add a person's current age to a birthday event on Outlook's Calendar using a macro.
How to use a macro to create Outlook folders from a list of folder names in a csv file.
Use a macro to file the original message by sender after responding.
How to create a custom index field on Outlook messages using numbers only or the mailbox name and numbers.
These samples contains the basic code for working with all items in a selected folder or selected items in a folder.