>tnx hugo - i think this solution would entail a preliminary full search through of all emails which i'm trying to avoid. i need to set up a filter.
Karen,
Take into account that what you are setting up is a search folder, so it means you only set it up once and then you just run some code similar to the one you posted as anything that you will find in that folder has been already filtered by Outlook, in this case to only have mails with attachments (and it might be even possible to automate this too, if I remember and have some time I will take a look into that tomorrow), unfortunately I do no know if it is possible to use either Find or Restrict.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges