i'm trying to write a piece of vb code that will search a folder in outlook (say inbox) , go through each mail item and if it has an attachment associated with it display the subject title in a msgbox & continue to loop till last mail.

I cant seem to get to grips with the outlook object model , so any help will be much appreciated.
Thanks
daveR