Gerrit Broekhuis
Programmer
Hi,
I found some nice code to copy Outlook Attachments for all messages.
This code contains the lines:
For Each objMsg In oInbox.Items
If objMsg.Class = olMail Then
'other instructions here
End If
Next
However, I want the instructions to act only on the selected email message and not on all of them. How should I change the code to do that?
Regards, Gerrit
I found some nice code to copy Outlook Attachments for all messages.
This code contains the lines:
For Each objMsg In oInbox.Items
If objMsg.Class = olMail Then
'other instructions here
End If
Next
However, I want the instructions to act only on the selected email message and not on all of them. How should I change the code to do that?
Regards, Gerrit