FileName Property

                  Applies To

Returns the file name of the attachment. Use this property in conjunction with the PathName property.

Read-only String.

Syntax

objAttachment.FileName

objAttachment   Required. An expression that returns an Attachment object.