The question is not quite clear to me. Do you want to e.g. loop through all your emails in your inbox (and if so, what folder?) and list all attachments? There are no "filenames", per-se, in an inbox of outlook.