Attachment.FileName property (Outlook)
Returns a String representing the file name of the attachment. Read-only.
expression A variable that represents an Attachment object.
Use this property in conjunction with the PathName property.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.