Attachment.FileName property (Outlook)

Returns a String representing the file name of the attachment. Read-only.

Syntax

expression.FileName

expression A variable that represents an Attachment object.

Remarks

Use this property in conjunction with the PathName property.

See also

Attachment Object

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.