I have a VBA code that performs a loop in a specific Outlook Folder, message by message.
I’d like to feed an array with the sender of each message(objItem.SenderEmailAddress), the date(objItem.ReceivedTime) and the subject(objItem.Subject).
I don’t have much experience with arrays, so would you like to get some suggestions.
Dim objItem As Variant
Set colItems = Fldr.Items
For Each objItem In colItems
Feed the Array here
Next
MessageItemwhich contains all the information you need for each email?