Link to home
Create AccountLog in
Avatar of zachvaldez
zachvaldezFlag for United States of America

asked on

code to filter subject

I only would like to filter incoming emails with subject that starts with the string "Technology" and also if the total size of the email is no more than 30 kb. Can someone show code to accomplish that?

I started with somwthing like this.... please add thanks!

 For Each olItem In olInbox.Items
      If olItem.Class = olMail  and .....Then
ASKER CERTIFIED SOLUTION
Avatar of David Lee
David Lee
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer