Attachments

T

The Other Mike

I have to write a macro to display the following into an Excel spreadsheet.

SenderName
To
Subject
SentOn
Attachment

I have looked for an hour now and can't seem to find out how to only check
that there is an attachment to the email. I don't need to open it but the
filename would be nice.

Thanks
Mike
 
M

Michael Bauer

Am Mon, 28 Nov 2005 14:47:33 -0500 schrieb The Other Mike:

Mike, the MailItem has an Attachments property, which in turn has a Count
property. You can easily explore all of an object´s methods, properties and
events by using the Object Browser (F2). Most of them will provide you
additionally with samples by clicking F1.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top