Function UnRead = False doesnt mark all messages as read

  • This code is meant to download attachments to Outlook messages that are unread , then to mark them as read ( they are faxed to me and i process them in outlook currently, hoping to have them be more easily accessible in the folder creditNDfax and eventually see about using an OCR to rename them but for now this is a big step). It handles the task but it then only does a few messages at a time and requires me to re-run the macro until all the attachments have been cleared and marked read.


    Any help on this would be huge.

  • Hello,


    You could test the following



    Hope this will help

    If you feel like saying "Thank You" for the help received, do not hesitate to click the "Like" icon ...just below...in the bottom right corner...:)

  • Thanks for trying that Carim, its still not running through all of them. I get why you changed the m value because it was going to be static for the whole thing. I'm going to keep looking at it!, ill update if i figure it out!